*BSD News Article 67178


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!bug.rahul.net!rahul.net!a2i!in-news.erinet.com!en.com!uunet!in2.uu.net!news.artisoft.com!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: lint for FreeBSD?
Date: Mon, 29 Apr 1996 22:11:07 -0700
Organization: Me
Lines: 29
Message-ID: <3185A0EB.33152997@lambert.org>
References: <01bb33ab.5c8a1cc0$8a0f1a90@gypsy.wcupa.edu> <4m24j8$g79@malibu.ts.rz.tu-bs.de>
NNTP-Posting-Host: hecate.artisoft.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; Linux 1.1.76 i486)

Martin Butkus wrote:
] Peter A. Schwenk (pschwenk@crooow.wcupa.edu) wrote:
] : I am trying my darndest (is that a word?) to compile INN1.4unoff4,
] : and it keeps on trying to run lint.  I didn't seem to get lint with
] : FreeBSD 2.1.  Does anyone have a lint for FreeBSD?
] 
] Nope, lint is based on AT&T code. lint is a syntax checker for C.
] Alternatively, you can enable more syntax checking by specifying
] '-Wall' as one of the compiler options.

Actually, I believe -current has a port of the free LINT that
NetBSD first imported about 3-4 months ago?

I know *I* have LINT on my machine; I just remember it being
available, so I grabbed it.

It's very useful when trying to compile code on machines without
ANSI compilers... most of the ANSI changes to K&R were for
programmers to lazy to run LINT.  Except "volatile" and "const";
those were for programmers to lazy to write complicated compilers
or smart linkers, like the one Fred Fish wrote for the 88k (near
and far are abominations before God).


                                        Terry Lambert
                                        terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.