Hi,
I'm aware of problems with strtold's capacity to parse hex strings. See:
https://sourceforge.net/p/mingw-w64/bugs/725/

That report provides a demo script and also mentions the workaround (of
using __mingw_strtold instead).
I *think* it's still unfixed, but I'm unaware of it affecting anything
other than strtold.

Cheers,
Rob

On Thu, May 30, 2019 at 4:40 AM EML <[email protected]> wrote:

> I've just installed MSYS2 and built a C++ project which has been running
> for the last 13+ years, on various Linux, Cygwin, and (old) mingw
> platforms. Some of the regressions are failing on mingw-w64/x86_64,
> which I haven't tried before, and the errors I'm getting are exactly the
> same as errors I got when running on Centos 4.4 in 2007. These errors
> all disappeared over the next few years as the platforms moved to newer
> libc versions.
>
> I don't have a record of any old test cases, but I do have a commit
> message which says:
>
>
> > The 3 failures are caused by a bug in the libc strtof, strtod, and
> > strtold routines on my system, which currently have a problem when
> > scanning
> > hex floats with negative exponents.
>
> Question - is mingw-w64 actually using an old libc version? It's going
> to take me hours to find the old test cases, or write new ones, so I
> thought I'd just do a sanity check here first. Thanks.
>
>
>
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to