[wine] Re: [msvcrt] Implement %I types for printf
the3dfxdude at gmail.com
Wed Jun 8 19:55:47 CDT 2005
On 6/7/05, David Lee Lambert <lamber45 at cse.msu.edu> wrote:
> On Mon, Jun 06, 2005 at 05:32:52PM +0200, Alexandre Julliard wrote:
> > No, I'm afraid there is no standard way of doing that. You won't be
> > able to simply forward this one to libc, you'll need to do at least
> > part of the formatting by hand.
> The ll flag is specified by POSIX (2001, "System Interfaces", p. 404) and
> is described by the Linux (dated 2000-10-16) and Solaris (SunOS 5.9)
> manpages. I'd certainly call that a "standard way", even if it's not
> supported everywhere.
> Apparently 4.4 BSD and older versions of Linux libc used a "%q" flag for
> the same thing. Would it be OK for Jesse to use a "configure" check to
> see which is supported, at compile-time?
Doing a configure check will help as a temporary option as there is no
support for %I64 as there is. If %ll or %q are not supported, then it
can be disabled and it will work the same as it is now.
More information about the wine-devel