mirror of https://github.com/ARMmbed/mbed-os.git
Enabled restrict keyword for IAR
parent
4b354f80cf
commit
2ea01ac8a9
|
@ -51,7 +51,7 @@
|
|||
"common": [
|
||||
"--no_wrap_diagnostics", "-e",
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-On", "-r", "-DMBED_DEBUG",
|
||||
"-DMBED_TRAP_ERRORS_ENABLED=1"],
|
||||
"-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"IAR": {
|
||||
"common": [
|
||||
"--no_wrap_diagnostics", "-e",
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Oh"],
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Oh", "--enable_restrict"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"IAR": {
|
||||
"common": [
|
||||
"--no_wrap_diagnostics", "-e",
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "-DNDEBUG"],
|
||||
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "-DNDEBUG", "--enable_restrict"],
|
||||
"asm": [],
|
||||
"c": ["--vla"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
|
|
Loading…
Reference in New Issue