CMakeLists: Consolidate all unused warnings into -Wunused
This commit is contained in:
parent
496695618a
commit
91c410c918
|
@ -110,13 +110,13 @@ else()
|
||||||
-Werror=sign-compare
|
-Werror=sign-compare
|
||||||
-Werror=switch
|
-Werror=switch
|
||||||
-Werror=uninitialized
|
-Werror=uninitialized
|
||||||
-Werror=unused-function
|
-Werror=unused
|
||||||
-Werror=unused-result
|
|
||||||
-Werror=unused-variable
|
|
||||||
|
|
||||||
-Wno-attributes
|
-Wno-attributes
|
||||||
-Wno-invalid-offsetof
|
-Wno-invalid-offsetof
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
|
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ARCHITECTURE_x86_64)
|
if (ARCHITECTURE_x86_64)
|
||||||
|
|
Reference in New Issue