This is the mail archive of the gcc-help@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: "stdarg.h", va_start(), with gcc.


Jeffrey_Yuan@exe.com wrote:
...
vfprintf(stderr, va_arg(ap, char*), ap);

Should it not be: vfprintf( stderr,fmt,ap );

// Jarmo


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