weird SWIG syntax error with "inline" keyword

Christian Stimming stimming at tuhh.de
Tue Jul 15 04:30:12 EDT 2008


Am Mittwoch, 9. Juli 2008 20:16 schrieb Mark Jenkins:
> Christian wrote:
> > We either need to upgrade this
> > (on trunk) to 1.3.31 or we need to add a workaround for versions lower
> > than 1.3.31, which would mean adding "-Dinline=" to SWIG_PYTHON_OPT.
>
> If we're going to do this, we shouldn't just add it to SWIG_PYTHON_OPT,
> but somewhere that will be used by all invocations of swig within
> GnuCash, as this isn't a swig -python specific problem. Someone else may
> wish to run gnc-numeric.h through swig sometime. (when they attempt to
> write Java bindings, *shudder*. )

I think it's perfectly reasonable to increase the required swig version to 
1.3.31. I'll commit this in a minute.

Christian


More information about the gnucash-devel mailing list