[GRASS-dev] GRASS 7 swig compile warnings and errors

Glynn Clements glynn at gclements.plus.com
Mon Jan 19 11:19:46 EST 2009


Markus Neteler wrote:

> >> >> I get warnings and errors in swig/python/:
> >> >
> >> >> grass_wrap.c: In function '_wrap_G_vasprintf':
> >> >> grass_wrap.c:18166: error: incompatible types in assignment

> >>       arg3 = *((va_list *)(argp3));

> > What does the declaration of arg3 look like?

>   va_list arg3 ;                       <<<----

So assigning an expression of type va_list to a variable of type
va_list results in an "incompatible types in assignment" error from
the compiler?

I can only suggest taking this up with the gcc maintainers; I have no
clue.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list