Compiler Reference Guide

Language compliance

Language compliance

The compiler has a mode where compliance to a source language is enforced.

In strict mode the compiler enforces compliance with the language standard relevant to the source language. For example, the use of //-style comments results in an error when compiling strict C90.

To compile in strict mode, use the command-line option --strict.

For example, compiling a .cpp file with the command-line option --strict compiles Standard C++

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811