Added -Wformat-security

This commit is contained in:
John Wellbelove 2025-05-29 20:15:35 +01:00
parent cb6d924dad
commit 083439f60b

View File

@ -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 ()