From 10dcfe7d0bff174876bbcbe2de464d547e15d382 Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Tue, 17 Dec 2024 10:07:51 +0900 Subject: [PATCH] [infra] Remove no-reorder from strict build (#14463) This commit removes "-Wno-reorder" flag from strict build. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh --- infra/nncc/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/nncc/CMakeLists.txt b/infra/nncc/CMakeLists.txt index 64eadebb2d9..6eebcd4a4b4 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 and -Wno-overloaded-virtual - target_compile_options(nncc_common INTERFACE -Werror -Wall -Wextra -Wno-reorder -Wno-overloaded-virtual) + # TODO Remove -Wno-overloaded-virtual + target_compile_options(nncc_common INTERFACE -Werror -Wall -Wextra -Wno-overloaded-virtual) endif(ENABLE_STRICT_BUILD) add_library(nncc_coverage INTERFACE)