Zitat von Mike Evans <mi...@saxicola.idps.co.uk>:

Am Dienstag, 30. März 2010 schrieb Derek Atkins:
Mike Evans <mi...@saxicola.idps.co.uk> writes:
> gnucash_core.c: In function '_wrap_gncSplitGetGUID':
> gnucash_core.c:3268: error: 'GUID' undeclared (first use in this
> function) gnucash_core.c:3268: error: (Each undeclared identifier is
> reported only once gnucash_core.c:3268: error: for each function it
> appears in.)
> gnucash_core.c:3268: error: 'result' undeclared (first use in this
> function) gnucash_core.c:3276: error: expected expression before ')'
> token gnucash_core.c: In function '_wrap_gncTransGetGUID':
> gnucash_core.c:3290: error: 'GUID' undeclared (first use in this
> function) gnucash_core.c:3290: error: 'result' undeclared (first use in
> this function) gnucash_core.c:3298: error: expected expression before ')'
> token

GUID was changed to GncGUID.  Most likely the .i files were not fixed.

The .i files have been fixed. Instead, I guess the generated file
gnucash_core.c hasn't been re-generated after the update. I cannot reproduce
the compiler error here - it builds fine. @Mike: Remove the gnucash_core.c
file in the directory where this error occurred and run the build again. Does this help?

I removed gnucash_core.c then edited gnucash_core.py to change all instances
of GUID to GbcGUID which seems to have worked.

Dear Mike,

Did the compile error go away after removing gnucash_core.c but *without* changing gnucash_core.py? Or did it still occur, and you had to edit gnucash_core.py, after which the compile error disappeared?

Regards,

Christian

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to