summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/video_core/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 478246b6f..1cfd3bbc9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -64,8 +64,10 @@ if (MSVC)
else()
add_compile_options(
-Wall
+ -Werror=array-bounds
-Werror=implicit-fallthrough
-Werror=missing-declarations
+ -Werror=missing-field-initializers
-Werror=reorder
-Werror=switch
-Werror=uninitialized
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 8bf6eba0e..bb1f8491f 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -308,10 +308,8 @@ if (MSVC)
)
else()
target_compile_options(video_core PRIVATE
- -Werror=array-bounds
-Werror=conversion
-Wno-error=sign-conversion
- -Werror=missing-field-initializers
-Werror=pessimizing-move
-Werror=redundant-move
-Werror=shadow