Disallow unused-function, write-strings

unused-function was suppressed way back in b2b65842ea.
write-strings was suppressed in 2506cf5cf4.

Neither appears to be needed today.
This commit is contained in:
Tamir Duberstein 2021-08-04 08:08:40 -04:00
parent 7e97fd4168
commit 2772f0d553
No known key found for this signature in database
GPG Key ID: 32E33EC15E1FEF3C

4
BUILD
View File

@ -39,7 +39,6 @@ MSVC_COPTS = [
"/wd4334", # 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
"/wd4355", # 'this' : used in base member initializer list
"/wd4506", # no definition for inline function 'function'
"/wd4514", # -Wno-unused-function
"/wd4800", # 'type' : forcing value to bool 'true' or 'false' (performance warning)
"/wd4996", # The compiler encountered a deprecated declaration.
]
@ -51,9 +50,6 @@ COPTS = select({
"-DHAVE_ZLIB",
"-Woverloaded-virtual",
"-Wno-sign-compare",
"-Wno-unused-function",
# Prevents ISO C++ const string assignment warnings for pyext sources.
"-Wno-write-strings",
"-Wno-deprecated-declarations",
],
})