diff options
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 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) | |||
| 64 | else() | 64 | else() |
| 65 | add_compile_options( | 65 | add_compile_options( |
| 66 | -Wall | 66 | -Wall |
| 67 | -Werror=array-bounds | ||
| 67 | -Werror=implicit-fallthrough | 68 | -Werror=implicit-fallthrough |
| 68 | -Werror=missing-declarations | 69 | -Werror=missing-declarations |
| 70 | -Werror=missing-field-initializers | ||
| 69 | -Werror=reorder | 71 | -Werror=reorder |
| 70 | -Werror=switch | 72 | -Werror=switch |
| 71 | -Werror=uninitialized | 73 | -Werror=uninitialized |