From b955fa1b2c6bfe30c601c3e71195295d83d928bb Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 15 Aug 2002 08:45:49 +0000 Subject: Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers. Reviewed by: bde Original 2.95 change was subject to: Approved by: obrien --- contrib/gcc/c-lex.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/gcc/c-lex.c b/contrib/gcc/c-lex.c index 9eb308c..589270f 100644 --- a/contrib/gcc/c-lex.c +++ b/contrib/gcc/c-lex.c @@ -19,6 +19,8 @@ along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* $FreeBSD$ */ + #include "config.h" #include "system.h" @@ -315,7 +317,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; -- cgit v1.1