I check for strict ANSI compliance for my C programs by using the -A option, but I don't want complaints about my C++ style comments beginning with //

For versions previous to 8.00i, use the option:


(the double quotes are required within a .lnt files).  The // comment is part of the C99 standard, so beginning with version 8.00i, we will not complain about this construct, unless you use -A(C90) to indicate that you want C90 checking.

Feedback and Knowledge Base