For long time I get the same error with gnucash from CVS:
./configure
...
checking if scanf supports %qd conversion... no
configure: error: cannot continue, no long long conversion 
support in scanf

Attached patch resolve this error for GNU C (I don't assured what 
LL existing in other compilators).

-- 
Lav
Vitaly Lipatov
Russia, Saint-Petersburg
GNU! ALT Linux Team! LaTeX! LyX!
Index: configure.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/configure.in,v
retrieving revision 1.359.2.33
diff -u -r1.359.2.33 configure.in
--- configure.in	13 Jun 2004 19:26:29 -0000	1.359.2.33
+++ configure.in	4 Jul 2004 23:38:24 -0000
@@ -947,7 +947,7 @@
 {
   long long int d;
   d = 0;
-  if ((sscanf ("10000000000", "%qd", &d) != 1) || (d != 10000000000))
+  if ((sscanf ("10000000000", "%qd", &d) != 1) || (d != 10000000000LL))
     exit (1);
   exit (0);
 }
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to