Skip to content

Commit 25198ba

Browse files
author
Seppo Takalo
authored
Merge pull request #11070 from kjbracey-arm/iar_exception_warning
IAR: Suppress "exceptions are disabled" warning
2 parents 7dacafa + 2078575 commit 25198ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/profiles/debug.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"IAR": {
5454
"common": [
5555
"--no_wrap_diagnostics", "-e",
56-
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-On", "-r", "-DMBED_DEBUG",
56+
"--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-On", "-r", "-DMBED_DEBUG",
5757
"-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict"],
5858
"asm": [],
5959
"c": ["--vla", "--diag_suppress=Pe546"],

tools/profiles/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"IAR": {
5151
"common": [
5252
"--no_wrap_diagnostics", "-e",
53-
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "--enable_restrict",
53+
"--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-Ohz", "--enable_restrict",
5454
"-DMBED_TRAP_ERRORS_ENABLED=1"],
5555
"asm": [],
5656
"c": ["--vla", "--diag_suppress=Pe546"],

tools/profiles/release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"IAR": {
5050
"common": [
5151
"--no_wrap_diagnostics", "-e",
52-
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "-DNDEBUG", "--enable_restrict"],
52+
"--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-Ohz", "-DNDEBUG", "--enable_restrict"],
5353
"asm": [],
5454
"c": ["--vla", "--diag_suppress=Pe546"],
5555
"cxx": ["--guard_calls", "--no_static_destruction"],

0 commit comments

Comments
 (0)