incl noExternC Miscellaneous Build Option (C++, AIX)

Syntax: Default:
incl(noExternC, prefix) None

Use this option to specify which include files, identified by prefix, are not to have the implicit extern "C" inserted in each file.   Specify the option once for each prefix desired.  The insertion of the implicit extern "C" is specified by the incl(externC) option.

For example, if you specify:

incl(externC, /usr/include)
incl(noExternC, /usr/include/cppfiles)

all include files prefixed by /usr/include, except for files prefixed by /usr/include/cppfiles, have
extern "C" { inserted at the start of each include file, and a right brace (}) inserted at the end of each file.

If both incl(externC) and incl(noExternC) are specified with the same prefix, incl(noExternC) takes precedence and the prefix is not inserted in the include files.



Incremental C++ Builds
C Compilation
Search Paths for Included Source Files


Add or Change Source Files
Set Build Options
Build


incl externC Miscellaneous Build Option
Miscellaneous Build Options
Miscellaneous Build Options