8.37 --cpp

Enables the compilation of C++ source code.

Usage

This option can also be combined with other source language command-line options. For example, armcc --cpp --gnu.

Default

This option is implicitly selected for files having a suffix of .cpp, .cxx, .c++, .cc, or .CC.

Related reference
8.23 --c90
8.24 --c99
8.91 --gnu
8.173 --strict, --no_strict
8.5 --anachronisms, --no_anachronisms
1.2 Source language modes of the compiler
2.7 Filename suffixes recognized by the compiler
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.