-Wconversion

This commit is contained in:
Marcin
2025-03-18 13:25:32 +00:00
parent fd3b21f5d7
commit 8b810c2280

View File

@@ -44,7 +44,7 @@ if(MSVC)
endforeach(flag_var)
endif()
else()
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wall -Wextra -Wpedantic -Wconversion)
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
add_compile_options(-O3)