From e520ac59f95e46795c68c07a32e89129e68bce3a Mon Sep 17 00:00:00 2001 From: Arthur Sonzogni Date: Sun, 16 May 2021 22:42:22 +0200 Subject: [PATCH] Switch to -Wshadow (#98) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69f9de3..c5cbc4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,7 +158,7 @@ foreach(lib screen dom component) target_compile_options(${lib} PRIVATE "-Werror") target_compile_options(${lib} PRIVATE "-Wmissing-declarations") target_compile_options(${lib} PRIVATE "-Wdeprecated") - target_compile_options(${lib} PRIVATE "-Wshadow-all") + target_compile_options(${lib} PRIVATE "-Wshadow") endif() endforeach()