help-gplusplus
[Top][All Lists]
Advanced

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

Re: flag -m64 causes syntax error


From: Paul Pluzhnikov
Subject: Re: flag -m64 causes syntax error
Date: Thu, 22 Jun 2006 05:51:27 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Ulrich Lauther <ulrich.lauther@siemens.com> writes:

>   va_list ap; ...
>   vsprintf(buf,fmt,(va_list) ap); // line 76

> /home/lauther/turbo/incl/TURBO/gedit_link.h:76: error: ISO C++ forbids
> casting to an array type __va_list_tag [1]
...
> Any ideas?

Remove the cast: it is unnecessary, because ap is already of
the correct type.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]