Re: [Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-20 Thread Craig Rodrigues
On Sun, Apr 19, 2015 at 2:10 AM, Eitan Adler wrote: > > Perhaps it would be useful to do a second run of this, but with a > modified share/mk to silence the most useless of these warnings? > > Sure, that's fine. Can you provide a modified share/mk which you think does the right thing? We can tr

Re: [Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-20 Thread Benjamin Kaduk
On Sun, 19 Apr 2015, Adrian Chadd wrote: > I just got a booting mips32 kernel using gcc-4.9.2, and boy are there > a lot of warnings. I'm going to start fixing the ones I find - cleaner > code is better code. Mostly. > > (I'd be happy with -Wall -Werror.) I thought that -Wall was a fixed set of w

Re: [Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-19 Thread Adrian Chadd
On 19 April 2015 at 02:10, Eitan Adler wrote: > " > > On 18 April 2015 at 11:12, Craig Rodrigues wrote: >> Hi, >> >> After the latest commits by members of freebsd-toolchain@ , >> I have managed to compile latest CURRENT world and GENERIC >> kernel on amd64 with an gcc 4.9 external toolchain by d

Re: [Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-19 Thread Eitan Adler
" On 18 April 2015 at 11:12, Craig Rodrigues wrote: > Hi, > > After the latest commits by members of freebsd-toolchain@ , > I have managed to compile latest CURRENT world and GENERIC > kernel on amd64 with an gcc 4.9 external toolchain by doing: > >pkg install devel/amd64-xtoolchain-gcc >

[Request for Help] Reducing gcc 4.9 compilation warnings

2015-04-18 Thread Craig Rodrigues
Hi, After the latest commits by members of freebsd-toolchain@ , I have managed to compile latest CURRENT world and GENERIC kernel on amd64 with an gcc 4.9 external toolchain by doing: pkg install devel/amd64-xtoolchain-gcc cd /usr/src sed -i "" -e 's/boot2//' sys/boot/i386/Makefile ma