Skip to content

Commit

Permalink
Warn on sign mismatches for format specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
thbeu committed Jan 24, 2024
1 parent a03d7a8 commit 52381b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ target_include_directories(${PACKAGE}
if(MSVC)
target_compile_options(${PACKAGE} PRIVATE /W4)
else()
target_compile_options(${PACKAGE} PRIVATE -Wall -Wextra -pedantic)
target_compile_options(${PACKAGE} PRIVATE -Wall -Wextra -Wformat-signedness -Wno-unknown-warning-option -pedantic)
endif()

if(WIN32 AND NOT CYGWIN)
Expand Down

0 comments on commit 52381b5

Please sign in to comment.