Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: Dumb question on dyn. mem. alloc (if(hate(novices)) dont_read();) Message-ID: <5813@utzoo.UUCP> Date: Mon, 22-Jul-85 12:26:39 EDT Article-I.D.: utzoo.5813 Posted: Mon Jul 22 12:26:39 1985 Date-Received: Mon, 22-Jul-85 12:26:39 EDT References: <1035@homxa.UUCP> <5802@utzoo.UUCP>, <2624@watvlsi.UUCP> Organization: U of Toronto Zoology Lines: 11 > ... I find that LINT generally believes a cast to a pointer > type, as long as you don't/do use the -c option (on a BSD/SYSIII system). > The -c option tells lint to complain (or not complain) about all > non-portable pointer mismatches and questionable pointer casting. Sigh, not so on a V7, which is why I mentioned the "grep -v" approach. The absence of -c does *not* tell the V7 lint to shut up about possible alignment problems. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry