Skip to content

Commit 9d6edb5

Browse files
committed
Suppress broken GCC flag
1 parent 1d9b397 commit 9d6edb5

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
@@ -282,6 +282,7 @@ try_flag(WARNINGS "-W${WARNMODE}old-style-cast")
282282
try_flag(WARNINGS "-Woverloaded-virtual")
283283
try_flag(WARNINGS "-Wstrict-null-sentinel")
284284
try_flag(WARNINGS "-W${WARNMODE}sign-compare")
285+
try_flag(WARNINGS "-Wno-nonnull")
285286

286287
# MSVC /wd = warning disable
287288
try_flag(WARNINGS "/wd4127") # conditional expression is constant

0 commit comments

Comments
 (0)