Skip to content

Commit

Permalink
add -fsigned-char compile option
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed May 13, 2022
1 parent 7412ed8 commit b91edbf
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 b91edbf

Please sign in to comment.