2.3.6 build error on Kubuntu Karmic Beta

Christian Stimming stimming at tuhh.de
Mon Oct 5 16:22:37 EDT 2009


Am Montag, 5. Oktober 2009 01:38 schrieb Graham Menhennitt:
> GnuCash 2.3.6 on Kubuntu Karmix Beta. During the build, I got:
>
> /usr/include/regex.h:313: error: redeclaration of enumerator ‘REG_NOERROR’
>
> http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg684650.html
> The fix suggested there (comment out the include of go-glib-extras.h in 
> src/import-export/csv/gnc-csv-model.c) worked, and GnuCash built correctly.

However, when removing that include in gnc-csv-model.c with an older goffice 
version (0.2.1 here), I get

cc1: warnings being treated as errors
../../../../src/import-export/csv/gnc-csv-model.c: In 
function 'gnc_csv_load_file':
../../../../src/import-export/csv/gnc-csv-model.c:442: warning: implicit 
declaration of function 'go_guess_encoding'
../../../../src/import-export/csv/gnc-csv-model.c:444: warning: assignment 
makes pointer from integer without a cast
make[1]: *** [gnc-csv-model.lo] Error 1

so this is not something we can directly commit into SVN. Maybe #ifdef'd on a 
particular goffice version?

Regards,

Christian


More information about the gnucash-devel mailing list