Bug#383639: mingw32: Error compile test

2006-08-22 Thread Werner Koch
Dimitri told in by PM that he figured the problem. MS's libc requires %i64d instead of %lld. This is not POSIX and thus not ISO-C. Salam-Shalom, Werner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#383639: mingw32: Error compile test

2006-08-18 Thread Dmitry E. Oboukhov
Package: mingw32 Version: 3.4.2.20040916.1-2 Severity: normal my test results: dwork:[/home/dimka/test]$ make gcc -c main.c -o main.o gcc main.o -o test i586-mingw32msvc-gcc -c main.c -o main.obj i586-mingw32msvc-gcc main.obj -o test.exe dwork:[/home/dimka/test]$ ls main.c main.o main.obj

Bug#383639: mingw32: Error compile test

2006-08-18 Thread Werner Koch
On Fri, 18 Aug 2006 15:43, Dmitry E. Oboukhov said: test.exe a=300 b=0 ~ Error! printf(a=%lld b=%lld\n, a, b); Are you sure that the printf from Windows' libc knows about the long long type? I doubt it. Shalom-Salam, Werner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]