This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Properly cast sentinels for concat()


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


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