Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: $Revision: 1.6.2.16 $; site ISM780B.UUCP
Path: utzoo!linus!decvax!yale!ISM780B!jim
From: jim@ISM780B.UUCP
Newsgroups: net.bugs.usg
Subject: Re: Re: "lint" lets very bad code pass
Message-ID: <29800005@ISM780B.UUCP>
Date: Sun, 11-Aug-85 01:24:00 EDT
Article-I.D.: ISM780B.29800005
Posted: Sun Aug 11 01:24:00 1985
Date-Received: Wed, 14-Aug-85 00:36:33 EDT
References: <539@oliveb.UUCP>
Lines: 24
Nf-ID: #R:oliveb:-53900:ISM780B:29800005:000:836
Nf-From: ISM780B!jim    Aug 11 01:24:00 1985


>> > 1) "-c option"?  That option tells "lint" to compile a "lint" library.
>> > Why should that have anything to do with this?
>
>> We must have very different versions of lint.  Here is an extract from the
>> 4.1BSD lint man page listing of options:
>>
>>      c    Complain about casts which have questionable portabil-
>>           ity.
>
>Yes, we certainly do have different versions of "lint".  Here is an extract
>from the System V Release 2 lint man page listing of options:
>
>     -c     Cause *lint* to produce a ".ln" file for every ".c" file
>            on the command line.

In V7, -c meant "suppress complaints about questionable casts".
In SysIII, -c meant "complain about questionable casts".
SysV lint had no -c.
In SysV.2, lint -c is to *.ln as cc -c is to *.o .

Sigh.

-- Jim Balter, INTERACTIVE Systems (ima!jim)