This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (printf) ("hello world\n");
Eyal Lebedinsky <eyal@eyal.emu.id.au> writes:
> But without <stdio.h> the varargs attribute is not present
A varargs function is always a varargs function, whether it is prototyped
or not. But without a proper prototype the behaviour is undefined.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, 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."