cmake: remove global -Wno-format (#2195)

Move the global `-Wno-format` compiler option to the individual tests
that still trigger Wformat warnings. The majority of the tests now
compile cleanly with `-Wformat` enabled.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2024-12-24 14:49:31 +01:00
committed by GitHub
parent baed156699
commit 2ea4d165d5
6 changed files with 7 additions and 4 deletions

View File

@@ -10,4 +10,6 @@ set(${MODULE_NAME}_SOURCES
test_binary_fn.cpp
)
set_gnulike_module_compile_flags("-Wno-format")
include(../CMakeCommon.txt)