This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: libintl patches (4)
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: libintl patches (4)
- From: Andreas Jaeger <aj at suse dot de>
- Date: 03 Jan 2001 21:11:59 +0100
- Cc: libc-alpha at sources dot redhat dot com
- References: <14931.30841.453223.594366@honolulu.ilog.fr>
>>>>> 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