On Mon, Jan 19, 2009 at 5:19 PM, Glynn Clements <[email protected]> wrote: > 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.
I found this: http://www.swig.org/Doc1.3/SWIGDocumentation.html#Varargs_nn8 -> 13.7 Wrapping of va_list I don't know if that's related. Also this from a ruby list: http://rubyforge.org/pipermail/ruby-vpi-discuss/2007-August/000008.html ... mentioning a "type mismatch" error. BTW, I am using gcc version 4.3.2 on 64bit. Is it only me having this problem to compile swig/python/ ? Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
