8.40 --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.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.