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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

• #pragma Otime on page 4-58.<br />

2.1.91 --[no_]parse_templates<br />

This option enables or disables the parsing of non class templates in their generic form<br />

in C++, that is, when the template is defined and before it is instantiated.<br />

Note<br />

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

code 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 --parse_templates.<br />

Note<br />

--no_parse_templates cannot be used with --dep_name, because parsing is done by<br />

default if dependent name processing is enabled. Combining these options generates an<br />

error.<br />

See also<br />

• --[no_]dep_name on page 2-22<br />

• Template instantiation on page 5-15.<br />

2.1.92 --pch<br />

This option instructs the compiler to use a PCH file if it exists, and to create a PCH file<br />

otherwise.<br />

When the option --pch is specified, the compiler searches for a PCH file with the name<br />

filename.pch, where filename.* is the name of the primary source file. The compiler<br />

uses the PCH file filename.pch if it exists, and creates a PCH file named filename.pch<br />

in the same directory as the primary source file otherwise.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!