7.26 --cpp11

Enables the compilation of C++11 source code.

Usage

This option can also be combined with other source language command-line options. For example, armcc --cpp11 --cpp_compat.
When compiling C++11 code you must use the --cpp11 command line option. The default source language mode when a C++ filename suffix is detected is C++03.

Default

For files with a suffix of .cpp, .cxx, .c++, .cc, or .CC, --cpp applies by default.
Related reference
7.19 --c90
7.20 --c99
7.74 --gnu
7.25 --cpp
7.156 --strict, --no_strict
7.27 --cpp_compat
1.2 Source language modes of the compiler
2.7 Filename suffixes recognized by the compiler
10.13 C++11 supported features
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.