Skip to content

Commit b90db7f

Browse files
committed
toolchain: gnuarm: do not treat array-parameter as error
Do not report errors on array-parameter warnings, zephyr does, but in tf-m this is being ignored and requires some significant changes to comply. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent ae85c2c commit b90db7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

platform/ns/toolchain_ns_GNUARM.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ add_compile_options(
181181
-specs=nosys.specs
182182
-Wall
183183
-Wno-format
184+
-Wno-array-parameter
184185
-Wno-return-type
185186
-Wno-unused-but-set-variable
186187
-c

toolchain_GNUARM.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ add_compile_options(
111111
-specs=nosys.specs
112112
-Wall
113113
-Wno-format
114+
-Wno-array-parameter
114115
-Wno-return-type
115116
-Wno-unused-but-set-variable
116117
-c

0 commit comments

Comments
 (0)