Merge pull request #585 from caiiiycuk/va_fsigned_char

add -fsigned-char compile option
This commit is contained in:
Yury Zhuravlev
2022-05-19 23:40:40 +09:00
committed by GitHub

View File

@@ -76,6 +76,7 @@ add_compile_options(-Werror=dangling-else)
add_compile_options(-Werror=parentheses)
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Werror=delete-non-virtual-dtor>)
add_compile_options(-Werror=write-strings)
add_compile_options(-fsigned-char)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_compile_options(-Werror=mismatched-new-delete )