Skip to content

Commit f174490

Browse files
authored
Merge pull request #10740 from kjbracey-arm/no-deprecated-register
ARMC6: Suppress "register deprecated" warning
2 parents 0ebf961 + 18ce757 commit f174490

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
@@ -18,7 +18,7 @@
1818
"ARMC6": {
1919
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-g", "-O1",
2020
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
21-
"-Wno-reserved-user-defined-literal",
21+
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
2222
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
2323
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
2424
"-fshort-enums", "-fshort-wchar", "-DMBED_DEBUG",

tools/profiles/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ARMC6": {
1818
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Os",
1919
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
20-
"-Wno-reserved-user-defined-literal",
20+
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
2121
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
2222
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
2323
"-fshort-enums", "-fshort-wchar", "-DMBED_TRAP_ERRORS_ENABLED=1"],

tools/profiles/release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ARMC6": {
1818
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Oz",
1919
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
20-
"-Wno-reserved-user-defined-literal",
20+
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
2121
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
2222
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
2323
"-fshort-enums", "-fshort-wchar", "-DNDEBUG"],

0 commit comments

Comments
 (0)