On 28.01.2011, at 15:35, J. Alex Aycinena wrote: > I get the following error in compiling trunk: > > cc1: warnings being treated as errors > /home/gnucash-dev/svncheckouts/gnucash-clean/src/backend/dbi/gnc-backend-dbi.c: > In function 'conn_test_dbi_library': > /home/gnucash-dev/svncheckouts/gnucash-clean/src/backend/dbi/gnc-backend-dbi.c:2902:2: > error: implicit declaration of function 'setlocale' > /home/gnucash-dev/svncheckouts/gnucash-clean/src/backend/dbi/gnc-backend-dbi.c:2902:34: > error: 'LC_NUMERIC' undeclared (first use in this function) > /home/gnucash-dev/svncheckouts/gnucash-clean/src/backend/dbi/gnc-backend-dbi.c:2902:34: > note: each undeclared identifier is reported only once for each > function it appears in > make[5]: *** [gnc-backend-dbi.lo] Error 1 > > John, is this related to your recent changes? This is revision 20189. >
It would be, yes. But it seems odd: Doesn't your libintl.h include locale.h? I'll go ahead and add it, though; it won't do any harm. r20191. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel