Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 15:53:09 +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>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Cc:        current@FreeBSD.org
Subject:   GCC 3.1 hides warnings in system headers (was: Re: Repo bloat (Re: cvs commit: src/contrib/gcc.295 BUGS COPYING COPYING.LIB ChangeLog FREEBSD-Xlist FSFChangeLog INSTALL LANGUAGES Makefile.in NEWS ONEWS PROBLEMS PROJECTS README README-bugs README-f)
Message-ID:  <20020808125309.GB98605@sunbay.com>
In-Reply-To: <20020618224324.A14019@dragon.nuxi.com>
References:  <20020618123500.A2849@dragon.nuxi.com> <20020619150545.Q7664-100000@gamplex.bde.org> <20020618224324.A14019@dragon.nuxi.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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;
%%%


Cheers,
-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9Umm1Ukv4P6juNwoRAuwSAJ4kTKCO/i7L3WFRnBCCDwHI4od6twCfd7BF
Z6NCmc/YcwCRk6C8Wc5HXVw=
=FUwo
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808125309.GB98605>