[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: va_list (Was: Compile problem)

Le Fri, 07 Sep 2001 14:00:02 +0200 (MEST)
"Edouard G. Parmelan" <egp@free.fr> a ecrit:

> Damien GUIHAL <dguihal@free.fr> wrote:
> > Is va_list a real void * pointer, and if so why is it 12 bytes long?
> > If not what is it so that gcc can't make by default a copy of it?
> Use va_copy(DEST, SRC) or __va_copy() if your version of GCC is too old.
> -- 
> Edouard G. Parmelan
> http://egp.free.fr

Thanks for the tip, but what it do not understand is that I have gcc 2.95.4 (which I think can not be considered as old), but in my stdargs.g I only found __va_copy(), the other primitive doesn't not exist.

You solution put me on the right way and this link raise (and solves) the problem :
http://gcc.gnu.org/ml/gcc/1998-02/msg00835.html (dated 1998 !).

Does anyone as anyexplanation on this fact?

Nantes France

Attachment: pgp1YN30ixFqT.pgp
Description: PGP signature

Reply to: