summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-15 08:45:49 +0000
committerru <ru@FreeBSD.org>2002-08-15 08:45:49 +0000
commitb955fa1b2c6bfe30c601c3e71195295d83d928bb (patch)
tree295e51acc022eebb75d516fb4cc5654b7cdc5948
parent735fd8f13c3f71e720142c571af7dc9d5c2054eb (diff)
downloadFreeBSD-src-b955fa1b2c6bfe30c601c3e71195295d83d928bb.zip
FreeBSD-src-b955fa1b2c6bfe30c601c3e71195295d83d928bb.tar.gz
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
-rw-r--r--contrib/gcc/c-lex.c6
1 files changed, 6 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud