04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

2.1.2 --allow_null_this, --no_allow_this<br />

These options allow and disallow null this pointers in C++.<br />

Usage<br />

Allowing null this pointers gives well-defined behavior when a nonvirtual member<br />

function is called on a null object pointer.<br />

Disallowing null this pointers enables the compiler to perform optimizations, and<br />

conforms with the C++ standard.<br />

Default<br />

The default is --no_allow_null_this.<br />

See also<br />

• --gnu_defaults on page 2-68.<br />

2.1.3 --alternative_tokens, --no_alternative_tokens<br />

This option enables or disables the recognition of alternative tokens in C and C++.<br />

Usage<br />

In C and C++, use this option to control recognition of the digraphs. In C++, use this<br />

option to control recognition of operator keywords, for example, and and bitand.<br />

Default<br />

The default is --alternative_tokens.<br />

2.1.4 --anachronisms, --no_anachronisms<br />

This option enables or disables anachronisms in C++.<br />

Mode<br />

This option is effective only if the source language is C++.<br />

Default<br />

The default is --no_anachronisms.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-3<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!