Christian Stimming wrote: > By the way, one very weird error that I get with SWIG-1.3.31 and your > python/swig bindings is this: ... > Turns out swig doesn't like the "inline" keyword at all of the places in the > <gnc-numeric.h> header. If I add the option > > -Dinline= > > to the swig call (i.e. defining inline as an empty macro), swig runs without > error and the build continues just fine.
That bug was reported here: http://sourceforge.net/tracker/index.php?func=detail&aid=1477756&group_id=1645&atid=101645 and the fix made it into the 1.3.31 release here http://swig.cvs.sourceforge.net/swig/SWIG/Source/CParse/cscanner.c?r1=1.29&r2=1.30&pathrev=rel-1-3-31 I usually use 1.3.33, but I also had a copy of swig 1.3.31 lying around, put it in my PATH and tried it $ make -C src/optional/python-bindings/ gnucash_core.c make: Entering directory `/home/mark/parit-financial-system/new-svn-repo/gnucash/trunk-play/src/optional/python-bindings' swig -python -Wall -Werror \ -I../../../src -I../../../src/engine \ -I../../../src/business/business-core \ -I../../../lib/libqof/qof -I../../../lib/libqof/qof -o gnucash_core.c gnucash_core.i make: Leaving directory `/home/mark/parit-financial-system/new-svn-repo/gnucash/trunk-play/src/optional/python-bindings' [EMAIL PROTECTED]:~/parit-financial-system/new-svn-repo/gnucash/trunk-play$ swig -version SWIG Version 1.3.31 Are you sure you have 1.3.31? _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel