diff options
Diffstat (limited to 'cc/config/global.go')
-rw-r--r-- | cc/config/global.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/config/global.go b/cc/config/global.go index 5011acd50..e81ac0d47 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -373,6 +373,9 @@ var ( // Flags that must not appear in any command line. IllegalFlags = []string{ "-w", + "-pedantic", + "-pedantic-errors", + "-Werror=pedantic", } CStdVersion = "gnu23" |