Warnings as errors for posix

This commit is contained in:
momo5502
2025-01-05 18:21:22 +01:00
parent d87466337f
commit 4f444a7227

View File

@@ -209,7 +209,7 @@ function(momo_target_set_warnings_as_errors target)
return()
endif()
set(compile_options)
set(compile_options -Wall -Wextra -Wconversion -pedantic -Werror -Wno-comment)
if(MSVC)
set(compile_options /W4 /WX)