X3J11 Pleasanton meeting summary
Dan Bernstein
brnstnd at kramden.acf.nyu.edu
Thu Oct 18 11:26:58 AEST 1990
In article <14061 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> In article <7944:Oct906:02:0690 at kramden.acf.nyu.edu> brnstnd at kramden.acf.nyu.edu (Dan Bernstein) writes:
> > x is of type char [100][3], sizeof(x) is 400
> Not permitted. sizeof x is required to be 300.
It's a shame that a useful optimization is thereby prohibited. I just
posted a proposal to alt.lang.cfutures under the title ``array slicing''
that would let the programmer explicitly declare padding. In the
meantime, is there any portable way to get around this restriction?
---Dan
More information about the Comp.std.c
mailing list