29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong> Command-line Options<br />

If --no_guiding_decls is combined with --old_specializations, a specialization of a<br />

non-member template function is not recognized. It is treated as a definition of an<br />

independent function.<br />

Note<br />

The option --guiding_decls is provided only as a migration aid for legacy source code<br />

that does not conform to the C++ standard. Its use is not recommended.<br />

Mode<br />

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

Default<br />

The default is --no_guiding_decls.<br />

Example<br />

template void f(T)<br />

{<br />

...<br />

}<br />

void f(int);<br />

When regarded as a guiding declaration, f(int) is an instance of the template.<br />

Otherwise, it is an independent function so you must supply a definition.<br />

See also<br />

• --apcs=qualifer...qualifier on page 2-4<br />

• --[no_]old_specializations on page 2-68.<br />

2.1.59 --help<br />

This option displays a summary of the main command-line options.<br />

This is the default if you do not specify any options or source files.<br />

See also<br />

• --show_cmdline on page 2-81.<br />

• --vsn on page 2-94<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 2-45<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!