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: libintl patches (4)


>>>>> Bruno Haible writes:

 > Since gcc doesn't tolerate zero-sized types anymore, here is a patch
 > to remove use 1-sized arrays at the end of structs.

 > ! #ifdef __GNUC__
 > !   char domainname[0];
 > ! #else
 > !   char domainname[1];
 > ! #endif
 >   };

Bruno, please check __flexarr from misc/sys/cdefs.h and check it's
usage in e.g. sysdeps/unix/sysv/linux/bits/socket.h.  Your patch is wrong.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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