From 1cb75ff072fe540e35e4250c6aee81bf22e34954 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 29 May 2025 20:15:35 +0100 Subject: [PATCH] Added -Wformat-security --- test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 79c21682..98d6f701 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -433,6 +433,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") -Wfloat-equal -Wshadow -Wnull-dereference + -Wformat-security -g ) endif () @@ -448,6 +449,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") -Wfloat-equal -Wshadow -Wnull-dereference + -Wformat-security -g ) endif ()