libintl patches (4)

Andreas Jaeger aj@suse.de
Wed Jan 3 12:17:00 GMT 2001


>>>>> 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


More information about the Libc-alpha mailing list