aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Baker-Malone <jbakermalone@google.com>2019-09-27 17:59:12 -0700
committerJoe Baker-Malone <jbakermalone@google.com>2019-09-27 17:59:12 -0700
commit98500ad15567e0666d4eb3b371da0b10365bb66e (patch)
tree961412363807575ece0bc08c2da8cfe749569fb9
parent310b7d2b45743c368049bdb62f6182278b2c3f3a (diff)
downloadprotobuf-studio-2022.1.1-canary.tar.gz
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--BUILD9
1 files changed, 1 insertions, 8 deletions
diff --git a/BUILD b/BUILD
index 0133ef5f8..db1503fb4 100644
--- a/BUILD
+++ b/BUILD
@@ -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",
],