LANGUAGE
Compilation Unit
-C++ (f|e|c)
f : Full ANSI Draft C++ support
e : Embedded C++ support (EC++)
c : compactC++ support (cC++)
None
__cplusplus
None
With this option enabled, the Compiler behaves as a C++ Compiler. You can choose between three different types of C++:
If the option is not set, the Compiler behaves as an ANSI-C Compiler.
If the option is enabled and the source file name extension is *.c, the Compiler behaves as a C++ Compiler.
If the option is not set, but the source filename extension is .cpp or .cxx, the Compiler behaves as if the -C++f option were set.
COMPOPTIONS=-C++f