diff options
author | 2025-03-10 22:57:49 -0700 | |
---|---|---|
committer | 2025-03-10 22:57:49 -0700 | |
commit | 384961f1234677087a306ce18ab67e5b4316c6e5 (patch) | |
tree | b3ffaaba163f68103d421ed6fdfe0f492d743c06 /cc | |
parent | c1d09635ead9f72c9d993852f04a32fa2f8be8f8 (diff) | |
parent | 996d547d9eeca3622752765f4b3acf7d4c7dfe0a (diff) |
Merge "Add `-pedantic` as an illegal flag" into main
Diffstat (limited to 'cc')
-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" |