(unsigned) cast in external initializations

Sam Kendall kendall at wjh12.UUCP
Sat Sep 8 15:35:09 AEST 1984


Several people have been complaining that the pcc doesn't like
(unsigned) casts in constant expressions in external initializations.
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.

I think the prohibition of casts in constant expressions is terrible,
but just the facts, Ma'am, just the facts.

	Sam Kendall	  {allegra,ihnp4,ima,amd}!wjh12!kendall
	Delft Consulting Corp.	    decvax!genrad!wjh12!kendall



More information about the Comp.lang.c mailing list