printf and long long

Marc Auslander
Fri Apr 25 01:17:00 GMT 1997

It appears that printf of long long is broken.  The value printed is
wrong, and subsequent arguements are mishandled.  All this works
correctly on AIX gcc.  A test case which faults on gnu-win32 is:

    long long l;
    printf("%lld %s\n",l,"test");

If you don't try to print the second arg, you just get a bad value.

I didn't see anything in the archives about this.

Marc Auslander   <>   914 945-4346  (Tieline 862 Fax x4426)

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list