diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d3e7a5c..63e306b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -132,7 +132,8 @@ else() $<$,6>>: -Wduplicated-cond # duplicated if-else conditions -Wmisleading-indentation - -Wnull-dereference + -Wno-null-dereference + -Wno-array-bounds $<$: # no support for [[maybe_unused]] -Wno-unused-variable > @@ -246,7 +247,8 @@ else() $<$,6>>: -Wduplicated-cond # duplicated if-else conditions -Wmisleading-indentation - -Wnull-dereference + -Wno-null-dereference + -Wno-array-bounds > $<$,7>>: -Wduplicated-branches # identical if-else branches