C vs. FORTRAN (was: What should be added to C)

Guy Harris guy at sun.uucp
Wed May 28 07:28:43 AEST 1986


> That probably wouldn't be too hard to add to C; in fact it might be possible
> to generalize it to allow *any* nonstatic array declaration to have variable
> size (within reason).

Where "within reason" presumably includes "not inside a structure
declaration".  Even just having "auto" arrays with variable size would mean
that the offset of an "auto" variable from the stack/frame pointer would not
necessarily be a constant.  What about in a "typedef" (or would that be
treated as a static declaration)?
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy at sun.arpa



More information about the Comp.lang.c mailing list