Path: utzoo!utgpu!watserv1!watmath!att!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.std.c Subject: Re: X3J11 Pleasanton meeting summary Message-ID: <14005:Oct1801:26:5890@kramden.acf.nyu.edu> Date: 18 Oct 90 01:26:58 GMT References: <14049@smoke.BRL.MIL> <7944:Oct906:02:0690@kramden.acf.nyu.edu> <14061@smoke.BRL.MIL> Organization: IR Lines: 11 In article <14061@smoke.BRL.MIL> gwyn@smoke.BRL.MIL (Doug Gwyn) writes: > In article <7944:Oct906:02:0690@kramden.acf.nyu.edu> brnstnd@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