From 2e1f14c7de538ff15f9acefb3c0b299f0a8d9b45 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 12 May 2024 22:02:34 -0500 Subject: [PATCH] Add a warning flag --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 574de6a..c8eaee4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -240,7 +240,7 @@ target_include_directories( target_compile_options( ${target_name} PRIVATE - $<$>:-Wall -Wextra -Werror=return-type -Wundef> + $<$>:-Wall -Wextra -Werror=return-type -Wundef -Wmaybe-uninitialized> $<$:-Wuseless-cast> $<$:/W4 /WX /permissive-> )