[PATCH] libcxx + MingW: correct printout of long doubles
Yaron Keren
yaron.keren at gmail.com
Sat Oct 5 15:54:05 PDT 2013
The patch is required for target -mingw32 only since then clang makes 80
bit long doubles but not for target -win since clang behaves like Visual
C++ and produces 64 bit long doubles.
So this got me thinking, where libcxx on Windows is heading -
target -mingw32 with MingW32 headers and 80 bit long doubles?
target -win with Visual C++ headers with 64 bit long doubles?
both?
Yaron
2013/10/5 G M <gmisocpp at gmail.com>
> Hi Yaron
>
> I looked at this problem quite a bit a while back, FYI MS's routines are
> different from the libcxx versions in other ways too.
>
> I made some changes a while back to reduce and centralize some of the uses
> of snprintf in libcxx a while back in order to generally try to move
> towards what your patch proposes.
>
> I generally approve of where you are going with this patch. I'll apply it
> on my machine this weekend and try your patch out and contrast it with VS
> builds with it and report soon in more detail.
>
> I think it's a good area to focus on. Thanks for looking at this.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131006/c81daa5b/attachment.html>
More information about the cfe-commits
mailing list