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 //), use this option to allow C++ comments (as shown in the following listing).
-Cppc /* This allows the code containing C++ comments to be compiled with the -Ansi option set */ void myfun(void) // this is a C++ comment
-Ansi: Strict ANSI compiler option