printf %lld != %ld when _NO_LONGLONG

Alexandre Oliva
Sun Mar 11 02:39:00 GMT 2001

I'd expect %lld to be handled like %ld if -DWANT_PRINTF_LONG_LONG is
not defined, but it's handled like %d.  This makes a lot of a
difference in case sizeof (long long) == sizeof (long) > sizeof (int).

How about this patch?  Ok to install?

More information about the Newlib mailing list