2.1.2. Source language modes

The ARM compilers have three distinct source language modes that you can use to compile several varieties of C and C++ source code:

ANSI C

In ANSI C mode, the ARM compilers pass release 7.00 of the Plum Hall C Validation Suite (CVS). This suite has been adopted by the British Standards Institute for C compiler validation in Europe. The compiler option -strict is used when running the tests.

EC++

This mode applies only to the ARM C++ compilers. The ARM C++ compilers compile the Embedded C++ subset of the ISO/IEC Standard C++.

C++

This mode applies only to the ARM C++ compilers. The ARM C++ compilers compile ISO/IEC standard C++. The compilers are tested against Suite++, The Plum Hall Validation Suite for C++, version 5.00. This is the default language mode for the ARM C++ compilers. The option -strict was used when running the tests.

For more information on how to use compiler options to set the source mode for the compiler, see Setting the source language.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential