Hi,

In relation to

https://sourceforge.net/p/mingw-w64/bugs/711/
and
https://sourceforge.net/p/mingw-w64/bugs/725/

I've just discovered that replacing the strtold() calls with calls to __mingw_strtold() avoids the buggy behaviour.

Why would that be so ?
Does this observation open the door to these bugs with strtold() soon being fixed ? Are there any downsides to my using __mingw_strtold() as a replacement for strtold() ?

I should add that I've tested this only on gcc version 8.1.0 (i686-posix-dwarf-rev0, Built by MinGW-W64 project) and gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project).
I haven't actually tested it on mingw-w64 ports of earlier versions of gcc.

Cheers,
Rob

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to