Build a function call with variable number of arguments

Andreas Schwab schwab@suse.de
Thu Mar 29 12:52:00 GMT 2007


"François-Xavier Coudert" <fxcoudert@gmail.com> writes:

> Could someone give me a pointer to doc or code about building a
> function decl and function call expr that take a variable number of
> arguments (like printf)?

See c-common.c:def_fn_type for the decl.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP 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