This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Michal Moskal <malekith@pld.org.pl>] libc/1931: gconv.h uses array of size [0], ANSI C complier cannot compile hello.c


On Mon, Nov 27, 2000 at 11:34:10AM +0000, Joseph S. Myers wrote:
> /* Some other non-C99 compiler.  Approximate with [1].  */
> #define __flexarr	[1]

But this changes the size of the structure.  I think you
should leave __flexarr undefined in this case and then
omit the structure member.

Hmm.. but that could also change the structure, since it
could affect padding and alignment.



r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]