7.25 --cpp

Enables the compilation of C++03 source code.

Usage

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

Default

This option is implicitly selected for files having a suffix of .cpp, .cxx, .c++, .cc, or .CC.
Related reference
7.5 --anachronisms, --no_anachronisms
7.19 --c90
7.20 --c99
7.74 --gnu
7.156 --strict, --no_strict
7.26 --cpp11
7.27 --cpp_compat
1.2 Source language modes of the compiler
2.7 Filename suffixes recognized by the compiler
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.