Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!prls!pyramid!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.lang.c,net.micro.pc,net.unix Subject: Re: C'mon, guys! Message-ID: <3846@sun.uucp> Date: Sat, 31-May-86 18:58:29 EDT Article-I.D.: sun.3846 Posted: Sat May 31 18:58:29 1986 Date-Received: Tue, 3-Jun-86 22:36:34 EDT References: <200@pyuxv.UUCP> <1181@ncoast.UUCP> <350@dg_rtp.UUCP> <3423@ukma.UUCP> <357@dg_rtp.UUCP> <1194@ncoast.UUCP> <371@dg_rtp.UUCP> Organization: Sun Microsystems, Inc. Lines: 13 Xref: linus net.lang.c:8468 net.micro.pc:8092 net.unix:7326 > That is, lint has a bug... Yup. See a recent posting in net.bugs. for a fix (unless some of you people out there *want* PCC and "lint" to concur in your mistaken belief that pointers and arrays are equivalent). Also note that this fix also permits "lint" to check that you aren't trying to convert a pointer to an array of, say, 10 "int"s to a pointer to an array of 20 "int"s; that is as questionable as converting a pointer to an "int" as converting a pointer to a "double". -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.arpa