Enable warn_system_heders by default.

This commit is contained in:
Alexander Kabaev 2003-08-22 03:31:54 +00:00
parent 7a4310c825
commit b82f80cdc5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119272
2 changed files with 2 additions and 1 deletions

View File

@ -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));

View File

@ -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. */