Fix warnings + Werror (#101)
- Fix warnings via OMNITRACE_BASIC_VERBOSE and OMNITRACE_BASIC_VERBOSE_F
[ROCm/rocprofiler-systems commit: cf7052d919]
This commit is contained in:
committed by
GitHub
parent
56b3b1f39a
commit
f2bcca54f6
@@ -199,10 +199,8 @@ endif()
|
||||
#
|
||||
omnitrace_add_interface_library(omnitrace-develop-options "Adds developer compiler flags")
|
||||
if(OMNITRACE_BUILD_DEVELOPER)
|
||||
add_target_flag_if_avail(
|
||||
omnitrace-develop-options
|
||||
# "-Wabi"
|
||||
"-Wdouble-promotion" "-Wshadow" "-Wextra" "-Wpedantic" "-Werror" "/showIncludes")
|
||||
add_target_flag_if_avail(omnitrace-develop-options "-Werror" "-Wdouble-promotion"
|
||||
"-Wshadow" "-Wextra" "-Wpedantic" "-Werror" "/showIncludes")
|
||||
endif()
|
||||
|
||||
# ----------------------------------------------------------------------------------------#
|
||||
|
||||
Reference in New Issue
Block a user