Programming Tools Guide
Chapter 5, lint analyzer

Portability checks

Portability checks

Some nonportable code is flagged by lint in its default behavior, and a few more cases are diagnosed when lint is invoked with -p and/or -Xc. The latter tells lint to check for constructs that do not conform to the ANSI C standard. For the messages issued under -p and -Xc, check ``Using lint''.
Examples: