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 />

There is no limit to the number of source files that can be specified on the command<br />

line, but ten files is a practical limit, because --multifile requires large amounts of<br />

memory while compiling. For the best optimization results, choose small groups of<br />

functionally related source files.<br />

Example<br />

armcc -c --multifile test1.c ... testn.c -o test.o<br />

The resulting object file is named test.o, instead of test1.c, and empty object files<br />

test2.o to testn.o are created for each source file test1.c ... testn.c specified on the<br />

command line.<br />

See also<br />

• -c on page 2-12<br />

• --default_extension=ext on page 2-22<br />

• -o filename on page 2-65<br />

• -Onum on page 2-66.<br />

2.1.85 --[no_]nonstd_qualifier_deduction<br />

This option controls whether or not nonstandard template argument deduction is to be<br />

performed in the qualifier portion of a qualified name in C++.<br />

With this feature enabled, a template argument for the template parameter T can be<br />

deduced in contexts like A::B or T::B. The standard deduction mechanism treats<br />

these as non deduced contexts that use the values of template parameters that were<br />

either explicitly specified or deduced elsewhere.<br />

Note<br />

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

source 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 --no_nonstd_qualifier_deduction.<br />

2-64 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!