diff options
author | Derek Mauro <dmauro@google.com> | 2023-01-19 12:25:19 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-19 12:26:15 -0800 |
commit | 29b2a750258c7ba85204c121c6054aa2004b4818 (patch) | |
tree | d913627a20a31f283a9b43d2b13ec188f878fdea | |
parent | 2039d5dff0cef8fe3841519f0418caef6ec47d2d (diff) |
Turn off the new GCC 13 warning for -Wself-move in tests since
we intentionally test this behavior
PiperOrigin-RevId: 503234578
Change-Id: Ic42c2e55e03843af7a36f99debb5ebcf7baec0fe
-rw-r--r-- | absl/copts/GENERATED_AbseilCopts.cmake | 1 | ||||
-rw-r--r-- | absl/copts/GENERATED_copts.bzl | 1 | ||||
-rw-r--r-- | absl/copts/copts.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake index 04e7b444..430916f7 100644 --- a/absl/copts/GENERATED_AbseilCopts.cmake +++ b/absl/copts/GENERATED_AbseilCopts.cmake @@ -72,6 +72,7 @@ list(APPEND ABSL_GCC_TEST_FLAGS "-DNOMINMAX" "-Wno-deprecated-declarations" "-Wno-missing-declarations" + "-Wno-self-move" "-Wno-sign-compare" "-Wno-unused-function" "-Wno-unused-parameter" diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl index 84f4bffc..011d8a98 100644 --- a/absl/copts/GENERATED_copts.bzl +++ b/absl/copts/GENERATED_copts.bzl @@ -73,6 +73,7 @@ ABSL_GCC_TEST_FLAGS = [ "-DNOMINMAX", "-Wno-deprecated-declarations", "-Wno-missing-declarations", + "-Wno-self-move", "-Wno-sign-compare", "-Wno-unused-function", "-Wno-unused-parameter", diff --git a/absl/copts/copts.py b/absl/copts/copts.py index 06eeb67b..e6e11949 100644 --- a/absl/copts/copts.py +++ b/absl/copts/copts.py @@ -33,6 +33,7 @@ ABSL_GCC_FLAGS = [ ABSL_GCC_TEST_ADDITIONAL_FLAGS = [ "-Wno-deprecated-declarations", "-Wno-missing-declarations", + "-Wno-self-move", "-Wno-sign-compare", "-Wno-unused-function", "-Wno-unused-parameter", |