[PATCH] libcxx + MingW: correct printout of long doubles
anton at korobeynikov.info
Sun Oct 6 06:41:21 PDT 2013
Should definitely be both.
On Sun, Oct 6, 2013 at 2:54 AM, Yaron Keren <yaron.keren at gmail.com> wrote:
> 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?
> 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.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-commits