Re: [Mingw-w64-public] Regarding strtold() bugs #711 and #725

2018-07-01 Thread sisyphus1
Hi Carl, I'm already defining __USE_MINGW_ANSI_STDIO. The messages you've quoted from the ChangeLog relate to strtod(). But strtod() works fine - the bug occurs only with strtold(). Is it just that strtold() needs to be aliased to __mingw_strtold() when __USE_MINGW_ANSI_STDIO is defned ? Tha

Re: [Mingw-w64-public] Regarding strtold() bugs #711 and #725

2018-07-01 Thread Carl Kleffner
I was too hasty, it's just the other way around. Try to define __USE_MINGW_ANSI_STDIO to make automatically use of __mingw_strtold instead of the strtold (msvcrt). 2018-07-01 15:03 GMT+02:00 Carl Kleffner : > > mingw-w64/mingw-w64-headers/crt/ChangeLog: > > 2014-03-03 Ray Donnelly mingw.andr..

Re: [Mingw-w64-public] Regarding strtold() bugs #711 and #725

2018-07-01 Thread Carl Kleffner
mingw-w64/mingw-w64-headers/crt/ChangeLog: 2014-03-03 Ray Donnelly mingw.andr...@gmail.com * stdlib.h (strtod): Don't define it to __strtod if __USE_MINGW_STRTOX is defined. mingw-w64-headers/crt/ChangeLog.2013: 2013-01-12 Jonathan Yong * stdlib.h: Define __USE_MINGW_STRTOX if _

[Mingw-w64-public] Regarding strtold() bugs #711 and #725

2018-07-01 Thread sisyphus1
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