Fix compile with gcc 4.2.3

Andreas Köhler andi5.py at gmx.net
Sun Dec 30 13:47:15 EST 2007


Hi Jerry,

Am Sonntag, den 30.12.2007, 12:29 -0500 schrieb Jerry Quinn:
> Hi, all.  I just tried to compile gnucash svn today on my debian testing 
> amd64 box.  It fails with the following compiler warning:

[...]

Thanks a lot for the patch!  Committed as r16771 and awaiting backport
to branches/2.2 (would appear in 2.2.3 then).


> @@ -2158,7 +2159,7 @@
>           return SCM_BOOL_F;
>       }
> 
> -    return SWIG_NewPointerObj(x, stype, 0);
> +    return SWIG_NewPointerObj(cx, stype, 0);
>   }
> 
>   static void *

I stripped off this hunk as it did not make any sense to me.

-- andi5




More information about the gnucash-devel mailing list