This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Passing va_args...


I'am looking for some way to pass variable arguments to another
function that receives variable arguments without using va_list.


This is impossible.

USL C has a very neat construct called '&...' which was designed for exactly this purpose. One day when I have idle cycles (yeah right) I will look into adding this as an extension.

Kean


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