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]

Use of va_arg function


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/


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