summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2025-01-02 16:55:06 -0600
committerDominick Allen <djallen@librehumanitas.org>2025-01-02 16:55:06 -0600
commit908fdf06b41f9084d719a4b517c868b1ad29a9ac (patch)
tree82b58e8afea2f0fc01c67e71241c2b93678ae42e /cmake
parent8f12614f2da8221438a3807b1d234517650fbdb6 (diff)
Fix warnings from clang-tidy in fud_format.hpp
Diffstat (limited to '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