Disallow unused-function, write-strings
unused-function was suppressed way back inb2b65842ea
. write-strings was suppressed in2506cf5cf4
. Neither appears to be needed today.
This commit is contained in:
parent
7e97fd4168
commit
2772f0d553
4
BUILD
4
BUILD
@ -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",
|
||||
],
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user