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

Ulrich Drepper drepper@redhat.com
Tue Nov 28 16:02:00 GMT 2000


Richard Henderson <rth@twiddle.net> writes:

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

All the data structures this is used for are not meant to be defined
by the user.  The objects are created by the libc and it knows how to
do this.  All the user cares is to access those elements.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list