LANGUAGE
Function
-Cppc
None
By default, the Compiler does not allow C++ comments if the -Ansi: Strict ANSI compiler option is set.
None
None
The -Ansi option forces the compiler to conform to the ANSI-C standard. Because a strict ANSI-C compiler rejects any C++ comments (started with //), this option may be used to allow C++ comments (refer to the following listing).
-Cppc /* This allows the code containing C++ comments to be compiled with the -Ansi option set */ void foo(void) // this is a C++ comment