diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 312a49f42d..48ddbef9d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -113,6 +113,8 @@ else() $<$:-Wno-braced-scalar-init> $<$:-Wno-unused-private-field> + $<$:-Werror=shadow-uncaptured-local> + $<$:-Werror=implicit-fallthrough> $<$:-Wno-braced-scalar-init> $<$:-Wno-unused-private-field> )