summaryrefslogtreecommitdiff
path: root/cmake/warnings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/warnings.cmake')
-rw-r--r--cmake/warnings.cmake17
1 files changed, 9 insertions, 8 deletions
diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake
index 1787263..909c35c 100644
--- a/cmake/warnings.cmake
+++ b/cmake/warnings.cmake
@@ -4,15 +4,16 @@ set(FUD_WARNINGS
-Wall
-Wextra
+ # TODO: use generator expressions
# gcc specific
- # -Wstrict-null-sentinel
- # -Wsuggest-final-types
- # -Wsuggest-final-methods
- # -Wimplicit-fallthrough=5
- # -Wduplicated-branches
- # -Wstack-usage=2048 # GCC specific
- # -Wduplicated-cond
- # -Wlogical-op
+ -Wstrict-null-sentinel
+ -Wsuggest-final-types
+ -Wsuggest-final-methods
+ -Wimplicit-fallthrough=5
+ -Wduplicated-branches
+ -Wstack-usage=2048 # GCC specific
+ -Wduplicated-cond
+ -Wlogical-op
# -pedantic
-Wno-error=pedantic