Skip to content

Commit

Permalink
Merge pull request #585 from caiiiycuk/va_fsigned_char
Browse files Browse the repository at this point in the history
add -fsigned-char compile option
  • Loading branch information
stalkerg authored May 19, 2022
2 parents 6504b52 + b91edbf commit 44c2517
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 44c2517

Please sign in to comment.