diff options
Diffstat (limited to 'absl/copts')
-rw-r--r-- | absl/copts/GENERATED_AbseilCopts.cmake | 2 | ||||
-rw-r--r-- | absl/copts/GENERATED_copts.bzl | 2 | ||||
-rw-r--r-- | absl/copts/copts.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index f968ba72a765..c4948d42d495 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -41,6 +41,7 @@ list(APPEND ABSL_CLANG_CL_FLAGS "-Wno-unreachable-code" "-Wno-unused-macros" "-Wno-weak-vtables" + "-Wno-zero-as-null-pointer-constant" "-Wbitfield-enum-conversion" "-Wbool-conversion" "-Wconstant-conversion" @@ -149,6 +150,7 @@ list(APPEND ABSL_LLVM_FLAGS "-Wno-unreachable-code" "-Wno-unused-macros" "-Wno-weak-vtables" + "-Wno-zero-as-null-pointer-constant" "-Wbitfield-enum-conversion" "-Wbool-conversion" "-Wconstant-conversion" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 2b4790a8ae4f..422b3a9b1c3a 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -42,6 +42,7 @@ ABSL_CLANG_CL_FLAGS = [ "-Wno-unreachable-code", "-Wno-unused-macros", "-Wno-weak-vtables", + "-Wno-zero-as-null-pointer-constant", "-Wbitfield-enum-conversion", "-Wbool-conversion", "-Wconstant-conversion", @@ -150,6 +151,7 @@ ABSL_LLVM_FLAGS = [ "-Wno-unreachable-code", "-Wno-unused-macros", "-Wno-weak-vtables", + "-Wno-zero-as-null-pointer-constant", "-Wbitfield-enum-conversion", "-Wbool-conversion", "-Wconstant-conversion", diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 8a0ecf6b75ac..5bede34cb8e7 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -70,6 +70,8 @@ LLVM_DISABLE_WARNINGS_FLAGS = [ # Causes warnings on include guards "-Wno-unused-macros", "-Wno-weak-vtables", + # Causes warnings on usage of types/compare.h comparison operators. + "-Wno-zero-as-null-pointer-constant", ### # Implicit conversion warnings turned off by -Wno-conversion # which are re-enabled below. |