mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-23 03:10:01 +08:00
Switch to -Wshadow (#98)
This commit is contained in:
parent
a574a6c3ee
commit
e520ac59f9
@ -158,7 +158,7 @@ foreach(lib screen dom component)
|
|||||||
target_compile_options(${lib} PRIVATE "-Werror")
|
target_compile_options(${lib} PRIVATE "-Werror")
|
||||||
target_compile_options(${lib} PRIVATE "-Wmissing-declarations")
|
target_compile_options(${lib} PRIVATE "-Wmissing-declarations")
|
||||||
target_compile_options(${lib} PRIVATE "-Wdeprecated")
|
target_compile_options(${lib} PRIVATE "-Wdeprecated")
|
||||||
target_compile_options(${lib} PRIVATE "-Wshadow-all")
|
target_compile_options(${lib} PRIVATE "-Wshadow")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endforeach()
|
endforeach()
|
||||||
|
Loading…
Reference in New Issue
Block a user