Fix compilation warnings

This commit is contained in:
momo5502
2025-05-31 09:52:18 +02:00
parent 5c0a1ce5c2
commit c50fdd17a4
10 changed files with 54 additions and 59 deletions

View File

@@ -63,6 +63,14 @@ endif()
##########################################
if(MINGW)
momo_add_c_and_cxx_compile_options(
-Wno-array-bounds
)
endif()
##########################################
if(LINUX)
add_link_options(
-Wl,--no-undefined