Skip to content

Commit

Permalink
Merge pull request #10740 from kjbracey-arm/no-deprecated-register
Browse files Browse the repository at this point in the history
ARMC6: Suppress "register deprecated" warning
  • Loading branch information
0xc0170 committed Jun 4, 2019
2 parents 0ebf961 + 18ce757 commit f174490
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/profiles/debug.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ARMC6": {
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-g", "-O1",
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
"-Wno-reserved-user-defined-literal",
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
"-fshort-enums", "-fshort-wchar", "-DMBED_DEBUG",
Expand Down
2 changes: 1 addition & 1 deletion tools/profiles/develop.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ARMC6": {
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Os",
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
"-Wno-reserved-user-defined-literal",
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
"-fshort-enums", "-fshort-wchar", "-DMBED_TRAP_ERRORS_ENABLED=1"],
Expand Down
2 changes: 1 addition & 1 deletion tools/profiles/release.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ARMC6": {
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Oz",
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
"-Wno-reserved-user-defined-literal",
"-Wno-reserved-user-defined-literal", "-Wno-deprecated-register",
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
"-fshort-enums", "-fshort-wchar", "-DNDEBUG"],
Expand Down

0 comments on commit f174490

Please sign in to comment.