diff options
author | Joe Baker-Malone <jbakermalone@google.com> | 2019-09-27 17:59:12 -0700 |
---|---|---|
committer | Joe Baker-Malone <jbakermalone@google.com> | 2019-09-27 17:59:12 -0700 |
commit | 98500ad15567e0666d4eb3b371da0b10365bb66e (patch) | |
tree | 961412363807575ece0bc08c2da8cfe749569fb9 | |
parent | 310b7d2b45743c368049bdb62f6182278b2c3f3a (diff) | |
download | protobuf-98500ad15567e0666d4eb3b371da0b10365bb66e.tar.gz |
Not messing around with individual warningsstudio-4.3.0studio-4.2.0studio-4.1.1studio-4.1.0studio-2023.1.1-patch2studio-2023.1.1-patch1studio-2023.1.1-canary3studio-2023.1.1-canary11studio-2023.1.1-beta05studio-2023.1.1studio-2022.3.1-rc1studio-2022.3.1-canary8studio-2022.3.1-canary1studio-2022.3.1-beta2studio-2022.3.1studio-2022.2.1-canary7studio-2022.2.1-canary2studio-2022.2.1-canary10studio-2022.2.1-beta5studio-2022.2.1-beta1studio-2022.2.1studio-2022.1.1-rc3studio-2022.1.1-canary2studio-2022.1.1-canarystudio-2022.1.1-beta4studio-2022.1.1-beta2studio-2022.1.1studio-2021.3.1-betastudio-2021.3.1studio-2021.2.1-patch2studio-2021.2.1-patch1studio-2021.2.1studio-2021.1.1studio-2020.3.1studio-master-devstudio-mainstudio-canarystudio-betastudio-2022.1.1-canarymirror-goog-studio-master-dev
We don't really care about warnings in here at all, since we aren't
modifying it. Removing -Wall and the individual -Wno args I added
earlier.
Test: none, just verify there aren't so many warnings
Bug: 141461148
Change-Id: Ic235469e3fa5d5375008a5813524f937b297217d
-rw-r--r-- | BUILD | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -44,21 +44,14 @@ MSVC_COPTS = [ "/wd4996", # The compiler encountered a deprecated declaration. ] -COPTS = [ - "-Wno-c++98-compat", - "-Wno-c++98-compat-pedantic", - "-Wno-reserved-id-macro", - "-Wno-sign-conversion", -] + select({ +COPTS = select({ ":msvc": MSVC_COPTS, "//conditions:default": [ "-DHAVE_PTHREAD", "-DHAVE_ZLIB", - "-Wall", "-Woverloaded-virtual", "-Wno-sign-compare", "-Wno-unused-function", - "-Wno-zero-as-null-pointer-constant", # Prevents ISO C++ const string assignment warnings for pyext sources. "-Wno-write-strings", ], |