Not messing around with individual warnings
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
diff --git a/BUILD b/BUILD
index 18fec96..07f0674 100644
--- a/BUILD
+++ b/BUILD
@@ -48,12 +48,7 @@
"/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",
@@ -61,7 +56,6 @@
"-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",
],