Skip to content

Commit e666495

Browse files
committed
cmake: enable shift count overflow warning
1 parent 5f6383c commit e666495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ ELSE ()
221221
ENABLE_WARNINGS(strict-aliasing)
222222
ENABLE_WARNINGS(strict-prototypes)
223223
ENABLE_WARNINGS(declaration-after-statement)
224+
ENABLE_WARNINGS(shift-count-overflow)
224225
DISABLE_WARNINGS(unused-const-variable)
225226
DISABLE_WARNINGS(unused-function)
226227

0 commit comments

Comments
 (0)