fix(build): silenciats warnings en Release
This commit is contained in:
1 parent
1ba17f5225
commit
f9e09d968d
2 files changed
+8
-4
No files matched your search
@@ -368,6 +368,10 @@ if(BUILD_TESTS)
|
||||
)
|
||||
target_link_libraries(test_entities_smoke PRIVATE SDL3::SDL3)
|
||||
target_compile_options(test_entities_smoke PRIVATE -Wall -Wextra -Wpedantic)
|
||||
# GCC 14 + -O3 + fkyaml header-only inlinia profundament std::map::clear i
|
||||
# dispara fals positius -Warray-bounds dins <bits/stl_tree.h>. El warning és
|
||||
# del codi de tercers (libstdc++ vist a través de fkyaml), no del test.
|
||||
target_compile_options(test_entities_smoke PRIVATE -Wno-array-bounds)
|
||||
enable_testing()
|
||||
add_test(NAME entities_smoke
|
||||
COMMAND test_entities_smoke
|
||||
|
||||
Reference in new issue
Block a user