Re: format specifier for long long incompatible to glibc

2012-12-29 Thread Christian Franke
Arno Wagner wrote: Example: #include void main() { long long i; i = 100L; printf("sizeof long long: %d\n", sizeof(i)); printf("L specifier: %12Ld\n", i); printf("q specifier: %12qd\n", i); printf("ll specifier: %12lld\n", i); } gives: sizeof long long: 8 L spec

format specifier for long long incompatible to glibc

2012-12-28 Thread Arno Wagner
Hi, I found some old messages about this on the mailing list (from 2004) and since I really do not know what glibc allowed back then, I thought I should report this as an incompatibility. cygwin (current version) allows only 'll' and 'q' (undocumented but works) as specifier for long long int,