mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 13:25:41 +02:00
Add Wsuggest-override to warning flags
This commit is contained in:
@@ -61,6 +61,7 @@ function(add_warnings_to_targets targets)
|
||||
"-Wunused-function"
|
||||
"-Wcall-to-pure-virtual-from-ctor-dtor"
|
||||
"-Wdeprecated-register"
|
||||
"-Wsuggest-override"
|
||||
)
|
||||
foreach(warning ${CHECKED_WARNING_FLAGS})
|
||||
add_cxx_flag_if_supported_to_targets(${warning} "${targets}")
|
||||
|
Reference in New Issue
Block a user