From 908fdf06b41f9084d719a4b517c868b1ad29a9ac Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Thu, 2 Jan 2025 16:55:06 -0600 Subject: Fix warnings from clang-tidy in fud_format.hpp --- cmake/warnings.cmake | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'cmake') 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 -- cgit v1.2.3