From 54add9847172f9aa64b18e67530973616b32d8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Fri, 19 Apr 2024 15:22:22 +0200 Subject: armclang: Suppress warnings about unused sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not all defined scatter file sections will be used by each example application, by design. So to avoid confusion about unused sections in the build output, add L6314W to the list of warnings to be suppressed. Change-Id: I97b21c3e80cc8528a5207c5e3994a862b5548f9e Signed-off-by: Jonny Svärd --- cmake/toolchain/armclang.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/toolchain/armclang.cmake b/cmake/toolchain/armclang.cmake index 61a8e59..74ff007 100644 --- a/cmake/toolchain/armclang.cmake +++ b/cmake/toolchain/armclang.cmake @@ -1,6 +1,5 @@ # -# Copyright (c) 2020-2022 Arm Limited. All rights reserved. -# +# SPDX-FileCopyrightText: Copyright 2020-2022, 2024 Arm Limited and/or its affiliates # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the License); you may @@ -65,7 +64,7 @@ add_link_options( --lto --info common,debug,sizes,totals,veneers,unused --symbols - --diag_suppress=L6439W) + --diag_suppress=L6439W,L6314W) # Compilation warnings add_compile_options( -- cgit v1.2.1