ARM: C++11 support with MDK-ARM and ARMCC Compiler
Information in this knowledgebase article applies to:
I am user of MDK-ARM and need to use the C++11 language extensions to take advantage of new features in C++.
Is the C++11 (formerly known as C++0x) version standard of the C++ programming language already supported with MDK-ARM and the ARMCC C/C++ Compiler?
Yes, the ARM Compiler 5.05, supplied with the current version of MDK-ARM, supports most of the C++11 compiler features.
To enable the C++ language extensions, enter in the µVision IDE under Project - Options - C/C++ - Misc Controls: --cpp11.
Note: C++11 Dynamic Syntax Checking will not be supported by armcc.
To enable even more C++11 features, and C++11 Dynamic Syntax Checking, upgrade to the new compiler, armclang.
MDK-ARM V5.20 or higher includes armclang. Support recommends using armclang v6.8 or higher for the improved migration paths. Review the MDK-ARM release notes, to verify the version of a compiler against a toolchain release. To enable dynamic syntax checking with armclang, read the knowledgebase article below.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, October 23, 2017
of your data.