libc/gen: unused variables

2015-05-20 Thread Adrian Chadd
Hi, here's a patch against -head that eliminates gcc-4.9 complaining about set-but-unused variables. It just comments them out for now - are these okay to eliminate, or is there something else that's broken/missing? Thanks! -adrian adrian@lucy-11i386:~/work/freebsd/head-embedded/src/lib % svn

Re: libc/gen: unused variables

2015-05-20 Thread Konstantin Belousov
On Wed, May 20, 2015 at 12:11:08AM -0700, Adrian Chadd wrote: Hi, here's a patch against -head that eliminates gcc-4.9 complaining about set-but-unused variables. It just comments them out for now - are these okay to eliminate, or is there something else that's broken/missing? Of course,

Re: libc/gen: unused variables

2015-05-20 Thread Mark Johnston
On Wed, May 20, 2015 at 12:11:08AM -0700, Adrian Chadd wrote: Hi, here's a patch against -head that eliminates gcc-4.9 complaining about set-but-unused variables. It just comments them out for now - are these okay to eliminate, or is there something else that's broken/missing? The calls to

Re: libc/gen: unused variables

2015-05-20 Thread Craig Rodrigues
On Wed, May 20, 2015 at 12:11 AM, Adrian Chadd adr...@freebsd.org wrote: Hi, here's a patch against -head that eliminates gcc-4.9 complaining about I've set up a Jenkins build of trunk using gcc 4.9: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/ That build also keeps track of

Re: libc/gen: unused variables

2015-05-20 Thread Adrian Chadd
On 20 May 2015 at 17:30, Craig Rodrigues rodr...@freebsd.org wrote: On Wed, May 20, 2015 at 12:11 AM, Adrian Chadd adr...@freebsd.org wrote: Hi, here's a patch against -head that eliminates gcc-4.9 complaining about I've set up a Jenkins build of trunk using gcc 4.9:

Re: libc/gen: unused variables

2015-05-20 Thread Craig Rodrigues
On Wed, May 20, 2015 at 5:53 PM, Adrian Chadd adr...@freebsd.org wrote: How much of FreeBSD have you been able to compile with gcc 4.9, and on which platform? I get down to a little bit inside libc before I hit unused code warnings. What platform are you compiling on? Are you looking

Re: libc/gen: unused variables

2015-05-20 Thread Adrian Chadd
On 20 May 2015 at 00:50, Konstantin Belousov kostik...@gmail.com wrote: On Wed, May 20, 2015 at 12:11:08AM -0700, Adrian Chadd wrote: Hi, here's a patch against -head that eliminates gcc-4.9 complaining about set-but-unused variables. It just comments them out for now - are these okay to