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
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,
2 matches
Mail list logo