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: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: toolchain/53023: config(1) behavior change with new gcc6
Date: Sat, 17 Feb 2018 23:27:34 +0000
On Tue, Feb 13, 2018 at 01:25:01PM +0000, Christos Zoulas wrote:
> 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.
Shouldn't config warn about the unused element, rather than generating
code that then doesn't compile because the compiler notices?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index