1// co.lnt 2// Compiler Options for Generic C compiler 3 4// This file contains options to allow PC-lint to process source 5// files for your compiler. It is used as follows: 6// 7// lint co.lnt source-file(s) 8// 9 10 // while processing compiler (library) header files ... 11-wlib(1) // sets the warning level within library headers to 1 12 // (no warnings, just syntax errors). Comment out if you 13 // are actually linting library headers. This 14 // option makes obsolete options of the form -elib(axxx) where 15 // xxx >= 400 which may be retained for historical reasons. 16-elib(652) // suppress message about #define of earlier declared symbols 17-elib(762) // suppress message about multiple identical declarations and 18-elib(760) // suppress message about multiple identical macro defs 19-elib(553) // undefined pre-processor variables are regarded as 20 // 0 without complaint 21 22// The following functions exhibit variable return modes. 23// That is, they may equally-usefully be called for a value 24// as called just for their effects. Accordingly we inhibit 25// Warning 534 for these functions. 26// Feel free to add to or subtract from this list. 27 28-esym(534,close,creat,fclose,fprintf,fputc) 29-esym(534,fputs,fscanf,fseek,fwrite,lseek,memcpy,memmove,memset) 30-esym(534,printf,puts,scanf,sprintf,sscanf,strcat,strcpy) 31-esym(534,strncat,strncpy,unlink,write) 32 33-elib(747) //significant prototype coercion 34