This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Use of va_arg function
- To: gcc-help at gcc dot gnu dot org
- Subject: Use of va_arg function
- From: Carla Nunes <carlanunes at yahoo dot com>
- Date: Wed, 11 Jul 2001 11:17:15 -0700 (PDT)
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/