From b2014faa90c7528e074e6229356991ada8e86ef7 Mon Sep 17 00:00:00 2001 From: Jakub Sujak Date: Mon, 20 Jan 2025 11:55:19 +0000 Subject: [PATCH] Remove unnecessary compiler options Remove compiler options that had unnecessarily disabled certain compilation warnings. Signed-off-by: Jakub Sujak --- CMakeLists.txt | 2 -- kai_defs.bzl | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5154e426..e3e3993f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,8 +48,6 @@ else() "-Wformat-security" "-Wformat=2" "-Winit-self" - "-Wno-ignored-attributes" - "-Wno-misleading-indentation" "-Wno-overlength-strings" "-Wstrict-overflow=2" "-Wswitch-default" diff --git a/kai_defs.bzl b/kai_defs.bzl index e2515ac1..593e320a 100644 --- a/kai_defs.bzl +++ b/kai_defs.bzl @@ -1,5 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates +# SPDX-FileCopyrightText: Copyright 2024-2025 Arm Limited and/or its affiliates # # SPDX-License-Identifier: Apache-2.0 # @@ -22,8 +22,6 @@ def kai_gcc_warn_copts(): "-Wformat-security", "-Wformat=2", "-Winit-self", - "-Wno-ignored-attributes", - "-Wno-misleading-indentation", "-Wno-overlength-strings", "-Wstrict-overflow=2", "-Wswitch-default", -- GitLab