Re: gcc: problem with scanf/printf with 64 bit integers on cygwin with -mno-cygwin

2009-02-25 Thread Larry Hall (Cygwin)
On 02/25/2009, Helmut Brandl wrote: I use the type "unsigned long long" and "long long" to get 64 bit integers on gcc. For reading and writing I use the formatting e.g. unsigned long long u64; u64 = ...; printf("a 64 bit integer %llu\n", u64); This has worked up to now on all systems u

gcc: problem with scanf/printf with 64 bit integers on cygwin with -mno-cygwin

2009-02-25 Thread Helmut Brandl
I use the type "unsigned long long" and "long long" to get 64 bit integers on gcc. For reading and writing I use the formatting e.g. unsigned long long u64; u64 = ...; printf("a 64 bit integer %llu\n", u64); This has worked up to now on all systems using gcc except on cygwin compiling wi