Re: External App connection to a GnuCash file

2007-09-03 Thread Christian Stimming
Am Montag, 3. September 2007 20:16 schrieb Daniel Espinosa: > > On the other hand, the resulting format character itself is probably only > > needed inside the gnucash/gncqof implementation and doesn't have to be > > exposed to outside applications. Hence, in the long term this test > > probably sh

Re: External App connection to a GnuCash file

2007-09-03 Thread Daniel Espinosa
2007/9/2, Christian Stimming <[EMAIL PROTECTED]>: > Am Mittwoch, 29. August 2007 21:52 schrieb Josh Sled: > > "Daniel Espinosa" <[EMAIL PROTECTED]> writes: > > > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to > > > support %lld (long long decimal integer) if so defines HAVE_SC

Re: External App connection to a GnuCash file

2007-09-02 Thread Christian Stimming
Am Mittwoch, 29. August 2007 21:52 schrieb Josh Sled: > "Daniel Espinosa" <[EMAIL PROTECTED]> writes: > > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to > > support %lld (long long decimal integer) if so defines HAVE_SCANF_LLD. > > I think this is supported in recent gcc versi

Re: External App connection to a GnuCash file

2007-08-30 Thread Derek Atkins
Quoting Daniel Espinosa <[EMAIL PROTECTED]>: [snip] > But again the preprocesor stops at the same point to say: > > /usr/local/include/gnucash/qofutil.h:54:5: error: #error "No scanf > format string is known for LLD. Fix your ./configure so that the > correct one is detected!" > > Any other sugest

Re: External App connection to a GnuCash file

2007-08-30 Thread Daniel Espinosa
2007/8/29, Derek Atkins <[EMAIL PROTECTED]>: > Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > > >> > I found a some macros used in GnuCash's configure.in file, and I'll > >> > trying to add to my program in order to fix this error, does any know > >> > how can I do this? > >> > >> Copy the code fro

Re: External App connection to a GnuCash file

2007-08-29 Thread Derek Atkins
Quoting Daniel Espinosa <[EMAIL PROTECTED]>: >> > I found a some macros used in GnuCash's configure.in file, and I'll >> > trying to add to my program in order to fix this error, does any know >> > how can I do this? >> >> Copy the code from our configure.in into your configure.in. >> > > I have a

Re: External App connection to a GnuCash file

2007-08-29 Thread Daniel Espinosa
2007/8/29, Derek Atkins <[EMAIL PROTECTED]>: > Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > > > 2007/8/29, Josh Sled <[EMAIL PROTECTED]>: > >> "Daniel Espinosa" <[EMAIL PROTECTED]> writes: > >> > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to > >> > support %lld (long long d

Re: External App connection to a GnuCash file

2007-08-29 Thread Derek Atkins
Quoting Daniel Espinosa <[EMAIL PROTECTED]>: > 2007/8/29, Josh Sled <[EMAIL PROTECTED]>: >> "Daniel Espinosa" <[EMAIL PROTECTED]> writes: >> > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to >> > support %lld (long long decimal integer) if so defines HAVE_SCANF_LLD. >> > I thi

Re: External App connection to a GnuCash file

2007-08-29 Thread Josh Sled
"Daniel Espinosa" <[EMAIL PROTECTED]> writes: > I found a some macros used in GnuCash's configure.in file, and I'll > trying to add to my program in order to fix this error, does any know > how can I do this? Add them to your program's configure.in? Or, if you don't need/want the portability that

Re: External App connection to a GnuCash file

2007-08-29 Thread Daniel Espinosa
2007/8/29, Josh Sled <[EMAIL PROTECTED]>: > "Daniel Espinosa" <[EMAIL PROTECTED]> writes: > > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to > > support %lld (long long decimal integer) if so defines HAVE_SCANF_LLD. > > I think this is supported in recent gcc versions, then I

Re: External App connection to a GnuCash file

2007-08-29 Thread Josh Sled
"Daniel Espinosa" <[EMAIL PROTECTED]> writes: > I found a macro in /macros/legacy_macros.m4 witch test for sscanf to > support %lld (long long decimal integer) if so defines HAVE_SCANF_LLD. > I think this is supported in recent gcc versions, then I can safetly > define it in configure.in or remove

Re: External App connection to a GnuCash file

2007-08-29 Thread Daniel Espinosa
2007/8/28, Josh Sled <[EMAIL PROTECTED]>: > "Daniel Espinosa" <[EMAIL PROTECTED]> writes: > > Why I have an error message for the file > > /usr/local/include/gnucash/qofutil.h in the line: > > > > # error "No scanf format string is known for LLD. Fix your > > ../configure so that the correct one

Re: External App connection to a GnuCash file

2007-08-28 Thread Josh Sled
"Daniel Espinosa" <[EMAIL PROTECTED]> writes: > Why I have an error message for the file > /usr/local/include/gnucash/qofutil.h in the line: > > # error "No scanf format string is known for LLD. Fix your > ../configure so that the correct one is detected!" > > The actual code in qofutil.h file is

External App connection to a GnuCash file

2007-08-28 Thread Daniel Espinosa
Hi all As part of the work to Fix bug #470753 and #470767, I'm creating a test application that access to the GC file using the API in the Engine and QOF, but I need some help about the following: /* HELP No 1 */ While compiling my test program I have an error message: Why I hav