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

Mode<br />

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

Default<br />

The default is --no_export_all_vtbl.<br />

Usage<br />

Use the option --export_all_vtbl to export all virtual table functions and RunTime Type<br />

Information (RTTI) for classes with a key function. A key function is the first virtual<br />

function of a class, in declaration order, that is not inline, and is not pure virtual.<br />

Note<br />

You can disable export for specific classes by using __declspec(notshared).<br />

See also<br />

• __declspec(notshared) on page 4-27.<br />

2.1.48 --[no_]export_defs_implicitly<br />

This option controls how dynamic symbols are exported.<br />

Default<br />

The default is --no_export_defs_implicitly.<br />

Usage<br />

Use the option --export_defs_implicitly to export definitions where the prototype is<br />

marked __declspec(dllimport).<br />

See also<br />

• __declspec(dllimport) on page 4-25.<br />

2.1.49 --[no_]extended_initializers<br />

This option enables the use of extended constant initializers even when compiling with<br />

--strict or --strict_warnings.<br />

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