summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/cppinit.c1
-rw-r--r--contrib/gcc/toplev.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/cppinit.c b/contrib/gcc/cppinit.c
index 3b0175f..d8b1dab 100644
--- a/contrib/gcc/cppinit.c
+++ b/contrib/gcc/cppinit.c
@@ -532,6 +532,7 @@ cpp_create_reader (lang)
CPP_OPTION (pfile, operator_names) = 1;
CPP_OPTION (pfile, warn_endif_labels) = 1;
CPP_OPTION (pfile, warn_long_long) = !CPP_OPTION (pfile, c99);
+ CPP_OPTION (pfile, warn_system_headers) = 1;
CPP_OPTION (pfile, pending) =
(struct cpp_pending *) xcalloc (1, sizeof (struct cpp_pending));
diff --git a/contrib/gcc/toplev.c b/contrib/gcc/toplev.c
index 62539bc..60a6bca 100644
--- a/contrib/gcc/toplev.c
+++ b/contrib/gcc/toplev.c
@@ -1410,7 +1410,7 @@ int inhibit_warnings = 0;
/* Don't suppress warnings from system headers. -Wsystem-headers. */
-int warn_system_headers = 0;
+int warn_system_headers = 1;
/* Print various extra warnings. -W. */
OpenPOWER on IntegriCloud