diff --git a/infra/nncc/CMakeLists.txt b/infra/nncc/CMakeLists.txt index cba480e6eb9..64eadebb2d9 100644 --- a/infra/nncc/CMakeLists.txt +++ b/infra/nncc/CMakeLists.txt @@ -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)