NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/53023: config(1) behavior change with new gcc6



The following reply was made to PR toolchain/53023; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, paul%whooppee.com@localhost
Cc: 
Subject: Re: toolchain/53023: config(1) behavior change with new gcc6
Date: Tue, 13 Feb 2018 08:24:24 -0500

 On Feb 13,  1:15pm, uwe%stderr.spb.ru@localhost (Valery Ushakov) wrote:
 -- Subject: Re: toolchain/53023: config(1) behavior change with new gcc6
 
 |  That variable IS generated with both new and old configs, but the new
 |  gcc fails with (and you have trimmed the relevant part):
 |  
 |  ioconf.c:436:33: error: 'dbcoolcf_iattrdata' defined but not used [-Werror=unused-const-variable=]
 |  
 |  which is new in gcc6, i guess.  A bit of background:
 |  
 |    https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00847.html
 |  
 
 Yes, uwe is correct. This is not a gcc bug; it is a new warning. The new
 gcc ioconf.c is the same as the old gcc ioconf.c in that respect. Both
 have the iattr data for dbcool, but the gcc correctly warns because it
 is unused. It get's created because of the extra attribute that you've
 commented out.
 


Home | Main Index | Thread Index | Old Index