Noeud:C++ Command Summary, Noeud « Next »:, Noeud « Previous »:Objective C Command Summary, Noeud « Up »:Language Options



C++ Command Summary

Generally you can compile many C++ source files using the standard compilation options already discussed for C. There are a few extra options here that you may find useful:

-fdollars-in-identifiers Allow identifiers to contain $ characters in identifiers. By default this shouldn't be permitted in GNU C++, although it is enabled on some platforms. -fnodollars-in-identifiers disables this option if it is default on the machine you're using.
-fenum-int-equiv Allow conversion of int to enum.
-fnonnull-objects This option ensures that no extra code is generated for checking whether any objects reached through references are not null.
-Woverloaded-virtual Warn when a function in a derived class has the same name as a virtual function in the base class, but the signature is different.
-Wtemplate-debugging When using templates, warn if debugging is not available.