crc@abic.UUCP (Clive Charlwood) (12/20/85)
Does anyone know of a tool to build lint libraries. Preferably for free (public domain). We have a flag on the compiler, It has a major problem. If the source you are building the library from contains code which causes "error" messages such as "return from printf ignored" then the lint library generates will also generate those messages when run. Which makes it pretty unusable. Thanks in advance Clive Phone: (216) 449-6700 x4696
rlk@chinet.UUCP (Richard L. Klappal) (12/24/85)
In article <709@abic.UUCP> crc@abic.UUCP (Clive Charlwood) writes: >Does anyone know of a tool to build lint libraries. Preferably >for free (public domain). We have a flag on the compiler, >It has a major problem. If the source you are building the >library from contains code which causes "error" messages such >as "return from printf ignored" then the lint library generates >will also generate those messages when run. Which makes it pretty >unusable. > Try adding some casts (to 'void') or whatever to get rid of the messages. That worked for me when recreating the libcurses.ln (PS: that the only place I've been able to find a documented example of preparing lint libraries.) -- --- UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021 ---