Remove _LIBCPP_EXTERN_TEMPLATE ARMCC compilation flag #12302
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
The flag was added in #5993.
As per comment from @pan- , the flag is not necessary once libc++ is shipped with ARMCC.
According to Arm compiler 6.11 release notes:
The particular reason I am interested in removing the flag is that it gives compilation warnings if library functions are put to use (see #12300):
Impact of changes
Smaller image size, as the units definitions will not be copied into every compilation unit and we are linking against libc++ anyway.
Warnings about duplicate symbols, when libc++ is being used should go away.
Migration actions required
None
Documentation
None
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-tools
@AnttiKauppila
@kjbracey-arm