Date: Tue, 13 Aug 2002 20:47:12 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: "David O'Brien" <obrien@FreeBSD.org>, Bruce Evans <bde@zeta.org.au>, Kris Kennaway <kris@obsecurity.org> Cc: current@FreeBSD.org Subject: Re: GCC 3.1 hides warnings in system headers Message-ID: <20020813174712.GA27304@sunbay.com> In-Reply-To: <20020808125309.GB98605@sunbay.com> References: <20020618123500.A2849@dragon.nuxi.com> <20020619150545.Q7664-100000@gamplex.bde.org> <20020618224324.A14019@dragon.nuxi.com> <20020808125309.GB98605@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So gents (and ladies :-), what do we do about this? We had this change pre-3.1, and we have it in -STABLE now, so I assume we should no longer lie that our -CURRENT is so WARNS-clean? : -------------------------------------------------------------- : >>> stage 4: building everything.. : -------------------------------------------------------------- : [...] : =3D=3D=3D> games/grdc : cc -O -pipe -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /CURR= ENT/usr/src/games/grdc/grdc.c : cc1: warnings being treated as errors : In file included from /usr/obj/CURRENT/usr/src/i386/usr/include/ncurses.h= :112, : from /CURRENT/usr/src/games/grdc/grdc.c:15: : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: useless = keyword or type name in empty declaration : /usr/obj/CURRENT/usr/src/i386/usr/include/stdbool.h:41: warning: empty de= claration : *** Error code 1 :=20 : Stop in /CURRENT/usr/src/games/grdc. : *** Error code 1 On Thu, Aug 08, 2002 at 03:53:09PM +0300, Ruslan Ermilov wrote: > On Tue, Jun 18, 2002 at 10:43:24PM -0700, David O'Brien wrote: > > On Wed, Jun 19, 2002 at 03:11:19PM +1000, Bruce Evans wrote: > > > > 1. you've forgotten *.295 will totally disappear soon (as in not ev= en in > > > > the Attic, totally gone as if it never, ever existed). > > >=20 > > > It shouldn't even have been cvs removed yet, since the -mprofiler-epi= logue > > > bits haven't been merged int gcc yet. > >=20 > > All the commits to contrib/gcc.295 where committed into contrib/gcc > > before the 3.1 import. (that is not strictly true, as Kris's format > > hacks weren't, but he knew they would not be) > >=20 > > What part of history is missing from contrib/gcc? >=20 > Also, cccp.c,v 1.9 was not merged: >=20 > : revision 1.9 > : date: 2002/04/16 08:07:37; author: ru; state: Exp; lines: +2 -0 > : Don't let gcc(1) hide warnings in system includes. > :=20 > : Approved by: obrien >=20 > Here's the long promised merge of the functionality. I would like to > commit it soon if there are no objections. (This will take this file > off its vendor branch.) >=20 > %%% > Index: c-lex.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/contrib/gcc/c-lex.c,v > retrieving revision 1.1.1.6 > diff -u -p -r1.1.1.6 c-lex.c > --- c-lex.c 13 May 2002 03:35:48 -0000 1.1.1.6 > +++ c-lex.c 8 Aug 2002 12:48:18 -0000 > @@ -315,7 +315,11 @@ cb_file_change (pfile, new_map) > } > =20 > update_header_times (new_map->to_file); > +#ifndef FREEBSD_NATIVE > in_system_header =3D new_map->sysp !=3D 0; > +#else /* FREEBSD_NATIVE */ > + in_system_header =3D 0; > +#endif /* FREEBSD_NATIVE */ > input_filename =3D new_map->to_file; > lineno =3D to_line; > map =3D new_map; > %%% --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9WUYgUkv4P6juNwoRAn01AJ9xIEJdpMjM/3baUMrm0ycO1W57QwCfT90V eoMk2szkb0HWRbcK4a+j5uA= =heP6 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813174712.GA27304>