Keil Logo

ARM: C++11 support with MDK-ARM and ARMCC Compiler

Information in this knowledgebase article applies to:

  • MDK-ARM V5.14 or higher
  • ARMCC C/C++ Compiler V5.05 or higher


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

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.