Skip to content

Commit

Permalink
Comment the cflag -Wno-error=array-parameter until gcc 12.2 is used
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs committed Apr 13, 2023
1 parent 2220dd6 commit 52c8a85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ source_set("efr32-common") {

sources = [
"${silabs_common_plat_dir}/heap_4_silabs.c",
"${silabs_common_plat_dir}/syscall_stubs.cpp",
"${silabs_common_plat_dir}/syscalls_stubs.cpp",
"efr32_utils.cpp",
"init_efrPlatform.cpp",
"matter_config.cpp",
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ template("efr32_sdk") {
"-Wno-shadow",

# see https://github.com/project-chip/connectedhomeip/issues/26058
"-Wno-error=array-parameter",
# Uncomment this cflag when pigweed update is done and GCC 12.2 is used.
# "-Wno-error=array-parameter",
]

if (silabs_family == "efr32mg24" || silabs_family == "mgm24") {
Expand Down

0 comments on commit 52c8a85

Please sign in to comment.