This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Properly cast sentinels for concat()
- From: Andreas Schwab <schwab at suse dot de>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Mark Kettenis <kettenis at jive dot nl>, gdb-patches at sourceware dot org
- Date: Tue, 05 Jul 2005 01:16:19 +0200
- Subject: Re: [commit] Properly cast sentinels for concat()
- References: <200507041336.j64Da5cE001221@jop31.nfra.nl><ud5pyp3tl.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
> In this case, I'd say it's a bug in OpenBSD (it _should_ use stddef.h
> that comes with GCC when a program is compiled with GCC), coupled with
> the silly attitude of latest GCC versions to whine about more and more
> perfectly valid C code constructs.
Passing NULL as a vararg parameter is _not_ perfectly valid.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."