Switch to -Wshadow (#98)

This commit is contained in:
Arthur Sonzogni
2021-05-16 22:42:22 +02:00
committed by GitHub
parent a574a6c3ee
commit e520ac59f9

View File

@@ -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()