Skip to content

Commit

Permalink
[infra/nncc] Fix strict build fail by overloaded-virtual (#14448)
Browse files Browse the repository at this point in the history
This commit adds '-Wno-overloaded-virtual' to the strict build for workaround in gcc 13.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Dec 13, 2024
1 parent 707d7f7 commit 7c2fe59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/nncc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ include("cmake/ApplyCompileFlags.cmake")
###
add_library(nncc_common INTERFACE)
if(ENABLE_STRICT_BUILD)
# TODO Remove -Wno-reoder
target_compile_options(nncc_common INTERFACE -Werror -Wall -Wextra -Wno-reorder)
# TODO Remove -Wno-reoder and -Wno-overloaded-virtual
target_compile_options(nncc_common INTERFACE -Werror -Wall -Wextra -Wno-reorder -Wno-overloaded-virtual)
endif(ENABLE_STRICT_BUILD)

add_library(nncc_coverage INTERFACE)
Expand Down

0 comments on commit 7c2fe59

Please sign in to comment.