Resolve warnings/errors with extra warnings (#171)
This commit is contained in:
committed by
GitHub
vanhempi
2ed818449f
commit
4e3527f0ed
@@ -218,10 +218,9 @@ endif()
|
||||
# ----------------------------------------------------------------------------------------#
|
||||
# developer build flags
|
||||
#
|
||||
omnitrace_add_interface_library(omnitrace-develop-options "Adds developer compiler flags")
|
||||
if(OMNITRACE_BUILD_DEVELOPER)
|
||||
add_target_flag_if_avail(omnitrace-develop-options "-Werror" "-Wdouble-promotion"
|
||||
"-Wshadow" "-Wextra" "-Wpedantic" "-Werror" "/showIncludes")
|
||||
add_target_flag_if_avail(omnitrace-compile-options "-Werror" "-Wdouble-promotion"
|
||||
"-Wshadow" "-Wextra" "-Wpedantic" "/showIncludes")
|
||||
endif()
|
||||
|
||||
# ----------------------------------------------------------------------------------------#
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user