Enable warn_system_heders by default.
This commit is contained in:
parent
7a4310c825
commit
b82f80cdc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119272
@ -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));
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user