r19916 - gnucash/trunk/src/optional/python-bindings - Add commodity price functions to bindings.
Mike Evans
mikee at saxicola.idps.co.uk
Thu Dec 9 03:15:11 EST 2010
On Wednesday December 8 2010 20:48:32 Derek Atkins wrote:
> Mike Evans <mikee at saxicola.idps.co.uk> writes:
> >> Why did you remove -Werror?
> >>
> >> -derek
> >
> > Ah. I wanted to enable SWIG %feature("autodoc", "1"); to make debugging
> > easier. Compile fails with an error if -Werror in enabled. I forgot to
> > put it back in when I'd finished. I'll commit a fix.
>
> So what's the compile error when you have autodoc enabled?
>
> > Mike
>
> -derek
With %feature("autodoc", "1"); and -Werror I get:
../../../src/engine/Account.h:182: Warning(314): 'from' is a python keyword,
renaming to '_from'
../../../src/engine/Account.h:182: Warning(314): 'from' is a python keyword,
renaming to '_from'
../../../src/engine/Account.h:194: Warning(314): 'from' is a python keyword,
renaming to '_from'
../../../src/engine/Account.h:194: Warning(314): 'from' is a python keyword,
renaming to '_from'
../../../src/libqof/qof/gnc-numeric.h:266: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:266: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:297: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:297: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:450: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:450: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:465: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/libqof/qof/gnc-numeric.h:465: Warning(314): 'in' is a python
keyword, renaming to '_in'
../../../src/engine/gnc-commodity.h:949: Warning(314): 'from' is a python
keyword, renaming to '_from'
../../../src/engine/gnc-commodity.h:949: Warning(314): 'from' is a python
keyword, renaming to '_from'
make[1]: *** [gnucash_core.c] Error 14
make[1]: Leaving directory `/home/mikee/Projects/gnucash/src/optional/python-
bindings'
make: *** [all-recursive] Error 1
Mike E
--
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/
Search String: 0x050895C2
More information about the gnucash-devel
mailing list