diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 99310dc503..2f6b227473 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -645,6 +645,7 @@ else() -Werror=implicit-fallthrough -Werror=sign-compare + $<$:-Werror=class-memaccess> $<$:-Werror=unused-but-set-parameter> $<$:-Werror=unused-but-set-variable>