[GRASS-dev] [GRASS GIS] #308: Compiler error while building python swig

Glynn Clements glynn at gclements.plus.com
Mon Sep 15 03:36:19 EDT 2008


GRASS GIS wrote:

>  Adding a _Color_Value_ struct helps it get past the preprocessor stage,
>  but
>  then the compliation fails:
> 
>  {{{
>  python_grass6_wrap.c:2945: warning: function declaration isn't a prototype
>  python_grass6_wrap.c: In function '_wrap__Color_Value__value_set':

>  python_grass6_wrap.c:5228: error: invalid application of 'sizeof' to
>  incomplete type 'struct _Color_Value_'

At this point, it may help if you post (or attach to the ticket) your
modified version.

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


More information about the grass-dev mailing list