Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mtune!mtunb!dmt From: dmt@mtunb.ATT.COM (Dave Tutelman) Newsgroups: comp.sources.wanted,comp.lang.c,comp.sys.ibm.pc Subject: Re: lint for PC wanted Message-ID: <1060@mtunb.ATT.COM> Date: Wed, 9-Sep-87 07:28:07 EDT Article-I.D.: mtunb.1060 Posted: Wed Sep 9 07:28:07 1987 Date-Received: Fri, 11-Sep-87 02:01:25 EDT References: <11709@linus.UUCP> <667@mtuxo.UUCP> <7213@steinmetz.steinmetz.UUCP> Reply-To: dmt@mtunb.UUCP (Dave Tutelman) Organization: AT&T Information Systems - Lincroft, NJ Lines: 30 Keywords: IBM PC lint C Xref: mnetor comp.sources.wanted:2177 comp.lang.c:4244 comp.sys.ibm.pc:7591 In article <7213@steinmetz.steinmetz.UUCP> davidsen@crdos1.UUCP (bill davidsen) writes: >In article <11709@linus.UUCP>, jgb@linus.UUCP (Jonathan G. Bressel) writes: >> >> Can anyone direct me to a good lint program for the IBM PC? My chief >> concern is cost, although I'd like it to be a good implementation, not >> a toy. > >For checking the program only, I use Microsoft C with the warning level >turned up. This has helped me port stuff from VAX->Xenix, VAX->68000, >68000->VAX. It catches the pointer<->int, inconsistant arguments, etc. > Another (non-LINT) possibility in the vein of this posting is TURBO C with all the messages turned on. Turbo gives you a lot of control over all sorts of warnings of possible problems; in the integrated environment, you can turn each of these warnings on or off from a pull-down menu. That, combined with function prototyping, will give near-LINT protection. Once again, if you really want LINT, PC-LINT from Gimpel Software is very complete. +---------------------------------------------------------------+ | Dave Tutelman | | Physical - AT&T - Lincroft, NJ | | Logical - ...ihnp4!mtuxo!mtunb!dmt | | Audible - (201) 576 2442 | +---------------------------------------------------------------+