diff options
author | Oleg Fatkhiev <41271510+ofats@users.noreply.github.com> | 2021-09-01 21:48:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 16:48:37 -0400 |
commit | 665ac5b425cea2462bf85dcbb56dd68ec19ad00f (patch) | |
tree | 3372579063dac99ff8b1d8ac0d1b886307d2988f /absl/copts/copts.py | |
parent | 637722af3a60c17915d3325604a0435ee92a41b4 (diff) |
Add -Wno-unknown-warning-option to ABSL_LLVM_FLAGS to disable warnings on unknown warning flags. (#1008)
Diffstat (limited to 'absl/copts/copts.py')
-rw-r--r-- | absl/copts/copts.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 7268c680..0d6c1ec3 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -112,6 +112,9 @@ COPT_VARS = { "-Wno-implicit-int-conversion", "-Wno-shorten-64-to-32", "-Wno-sign-conversion", + # Disable warnings on unknown warning flags (when warning flags are + # unknown on older compiler versions) + "-Wno-unknown-warning-option", # Don't define min and max macros (Build on Windows using clang) "-DNOMINMAX", ], |