From: newsham AT lava DOT net (Tim Newsham) Subject: printf + long long 6 Jul 1998 14:24:53 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: cygwin32-developers AT cygnus DOT com Hi, Printf doesnt seem to handle long long formatting options properly: long long x; x = (long long)5 << 32 | 4; printf("%llx %d\n", x, 3); will print "5 4" instead of "500000004 3" like it should. It looks like newlib has support for %ll and %q formatting options but that they are conditionally compiled. Perhaps its just a matter of rebuilding newlib with the proper definitions? Tim N.