----- Forwarded message from Ruslan Ermilov <[EMAIL PROTECTED]> -----
Date: Tue, 13 Aug 2002 20:47:12 +0300 From: Ruslan Ermilov <[EMAIL PROTECTED]> To: David O'Brien <[EMAIL PROTECTED]>, Bruce Evans <[EMAIL PROTECTED]>, Kris Kennaway <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: GCC 3.1 hides warnings in system headers In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.3.99i 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.. : -------------------------------------------------------------- : [...] : ===> games/grdc : cc -O -pipe -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c :/CURRENT/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 declaration : *** Error code 1 : : 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 even in > > > > the Attic, totally gone as if it never, ever existed). > > > > > > It shouldn't even have been cvs removed yet, since the -mprofiler-epilogue > > > bits haven't been merged int gcc yet. > > > > 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) > > > > What part of history is missing from contrib/gcc? > > Also, cccp.c,v 1.9 was not merged: > > : 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. > : > : Approved by: obrien > > 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.) > > %%% > Index: c-lex.c > =================================================================== > 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) > } > > update_header_times (new_map->to_file); > +#ifndef FREEBSD_NATIVE > in_system_header = new_map->sysp != 0; > +#else /* FREEBSD_NATIVE */ > + in_system_header = 0; > +#endif /* FREEBSD_NATIVE */ > input_filename = new_map->to_file; > lineno = to_line; > map = new_map; > %%% -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age ----- End forwarded message -----
msg41894/pgp00000.pgp
Description: PGP signature