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_SCANF_LLD. I

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 should

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 versions, then

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 from our configure.in into

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 sugestions? May

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 is detected!

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 this

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 can safetly

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 auto*

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 decimal integer) if so

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 already copied the

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: Did you