summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3b4862737..f774c2791 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -110,13 +110,13 @@ else()
-Werror=sign-compare
-Werror=switch
-Werror=uninitialized
- -Werror=unused-function
- -Werror=unused-result
- -Werror=unused-variable
+ -Werror=unused
-Wno-attributes
-Wno-invalid-offsetof
-Wno-unused-parameter
+
+ $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
)
if (ARCHITECTURE_x86_64)