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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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