r13621 - Synchronise with QOF 0.6.3

Derek Atkins warlord at MIT.EDU
Wed Mar 15 12:04:32 EST 2006


No, I think I need this, too.  Otherwise I get a build
error:

qsf-backend.c: In function `qsf_provider_init':
qsf-backend.c:1252: warning: implicit declaration of function `setlocale'
qsf-backend.c:1252: error: `LC_ALL' undeclared (first use in this function)
qsf-backend.c:1252: error: (Each undeclared identifier is reported only once
qsf-backend.c:1252: error: for each function it appears in.)
make[7]: *** [qsf-backend.lo] Error 1
make[7]: Leaving directory `/home/warlord/src/gnucash/gnucash-svn/build/lib/libqof/backend/file'

-derek

Andreas Köhler <andi5.py at gmx.net> writes:

> Hi,
>
> maybe it is my fault, but I needed to add #include <locale.h> to
> libqof/backend/file/qsf-backend.c, because gcc complained about
> implicit declarations of setlocale, LC_ALL, etc.
>
> Thanks in advance!
>
> -- andi5

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list