Skip to content

Commit 88209db

Browse files
committed
Avoid false positive
1 parent 1de80c9 commit 88209db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dependencies/O2CompileFlags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ endif()
102102
# and the lost bit does not matter to a test's random input, so warn rather
103103
# than fail. It reddened every macOS-arm alidist rebuild until covered.
104104
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
105-
set(O2_NEW_COMPILER_WARNINGS_NO_ERROR "nontrivial-memcall;deprecated-literal-operator;final-dtor-non-final-class;nonnull;implicit-const-int-float-conversion")
105+
set(O2_NEW_COMPILER_WARNINGS_NO_ERROR "nontrivial-memcall;deprecated-literal-operator;final-dtor-non-final-class;nonnull;implicit-const-int-float-conversion;dangling-assignment-gsl")
106106
o2_build_warning_flags(PREFIX "-Wno-error="
107107
OUTPUTVARNAME O2_NEW_COMPILER_NO_ERROR_FLAGS
108108
WARNINGS ${O2_NEW_COMPILER_WARNINGS_NO_ERROR})

0 commit comments

Comments
 (0)