mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #7261 from kjbracey-arm/iar-jump-warning
IAR: Suppress C "bypasses initialization" warningpull/7271/head
commit
f11d0f3be7
|
@ -53,7 +53,7 @@
|
|||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-On", "-r", "-DMBED_DEBUG",
|
||||
"-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict", "-D_RTE_"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"c": ["--vla", "--diag_suppress=Pe546"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
"--no_wrap_diagnostics", "-e",
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Oh", "--enable_restrict", "-D_RTE_"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"c": ["--vla", "--diag_suppress=Pe546"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
"--no_wrap_diagnostics", "-e",
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "-DNDEBUG", "--enable_restrict", "-D_RTE_"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"c": ["--vla", "--diag_suppress=Pe546"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue