13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

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>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C++ compiler option: --suppress-vtblMenu entry1. Select C/C++ Compiler » Miscellaneous.2. Enable the option Suppress definition of virtual function tables (C++).Command line syntax--suppress-vtblDescriptionSuppress definition of virtual function tables in cases where the heuristic used by the C++ compiler todecide on definition of virtual function tables provides no guidance. The virtual function table <strong>for</strong> a classis defined in a compilation if the compilation contains a definition of the first non-inline non-pure virtualfunction of the class. For classes that contain no such function, the default behavior is to define the virtualfunction table (but to define it as a local static entity).The --suppress-vtbl option suppresses the definitionof the virtual function tables <strong>for</strong> such classes, and the --<strong>for</strong>ce-vtbl option <strong>for</strong>ces the definition of the virtualfunction table <strong>for</strong> such classes. --<strong>for</strong>ce-vtbl differs from the default behavior in that it does not <strong>for</strong>ce thedefinition to be local.Related in<strong>for</strong>mationC++ compiler option --<strong>for</strong>ce-vtbl (Force definition of virtual function tables)472

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

Saved successfully!

Ooh no, something went wrong!