Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!mit-eddie!godot!ima!ISM780!darryl From: darryl@ISM780.UUCP Newsgroups: net.unix-wizards Subject: Re: 4.2 cc/lint strangeness (pcc) Message-ID: <171@ISM780.UUCP> Date: Sun, 17-Mar-85 00:40:01 EST Article-I.D.: ISM780.171 Posted: Sun Mar 17 00:40:01 1985 Date-Received: Tue, 19-Mar-85 04:45:08 EST Lines: 14 Nf-ID: #R:felix:-41700:ISM780:31500004:000:454 Nf-From: ISM780!darryl Mar 15 20:55:00 1985 [] Pcc has a bug regarding constant expressions containing casts. This was recently brought up in net.lang.c regarding an expression to get a mask with the high order bit on using unsigned int mask=~(~((unsigned)0)>>1); The VAX System III pcc will choke on this, and there were other versions of pcc indited as well. --Darryl Richman, INTERACTIVE Systems Inc. ...!cca!ima!ism780!darryl The views expressed above are my opinions only.