cmake: do not suppress -Wsometimes-uninitialized globally (#1741)

Fix an instance of this warning in mem_host_flags.

Only disable `-Wsometimes-uninitialized` for the SVM test, which does
not compile cleanly with this warning enabled.  Re-enable the warning
for the other tests, so that it can catch any new occurrences.

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
Sven van Haastregt
2023-06-02 10:57:10 +01:00
committed by GitHub
parent abd556f7a2
commit ce17549812
3 changed files with 3 additions and 2 deletions

View File

@@ -17,4 +17,6 @@ set(${MODULE_NAME}_SOURCES
test_migrate.cpp
)
set_gnulike_module_compile_flags("-Wno-sometimes-uninitialized")
include(../CMakeCommon.txt)