(printf) ("hello world\n");

Andreas Schwab schwab@suse.de
Wed Dec 10 10:18:00 GMT 2003


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



More information about the Gcc mailing list