Use of va_arg function

Carla Nunes carlanunes@yahoo.com
Wed Jul 11 11:17:00 GMT 2001


Hi there,

Does anyone know any problem with the use of va_arg on
GCC/G++? I have a code that compiles properly on AIX
using Visual Age Compiler but it doesn't compile using
the GCC. I got an error message saying that the type I
passed as parameter (sqlint16) is promoted to another
type (int) when passed through '...'

sqlint16 is defined as short in one of my header
files.

I appreciate any help.

Carla.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



More information about the Gcc-help mailing list