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: (unsigned) cast in external initializations Message-ID: <4317@utzoo.UUCP> Date: Fri, 14-Sep-84 17:27:14 EDT Article-I.D.: utzoo.4317 Posted: Fri Sep 14 17:27:14 1984 Date-Received: Fri, 14-Sep-84 17:27:14 EDT References: <508@wjh12.UUCP> Organization: U of Toronto Zoology Lines: 11 > Actually, the reference manual (section 15) prohibits ALL explicit casts > within constant expressions, so that the pcc is technically in error > permitting even (int) casts. Folks will probably be glad to know that this omission has been remedied in the current draft of the ANSI C standard. Dennis indicated a while ago that the absence of casts in the list of constant-expression operators was basically an oversight. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry