Re: [Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread JonY via Mingw-w64-public
On 05/06/2018 09:51 AM, Liu Hao wrote: > 在 2018/5/6 17:44, JonY via Mingw-w64-public 写道: >> On 05/06/2018 09:14 AM, Liu Hao wrote: >>> Remove the hacks to mimic old MS behavior and hardcode the minimum >>> number of digits of the exponent to 2, as required by C99 and POSIX. >>> >>> If the

Re: [Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread Liu Hao
在 2018/5/6 17:44, JonY via Mingw-w64-public 写道: On 05/06/2018 09:14 AM, Liu Hao wrote: Remove the hacks to mimic old MS behavior and hardcode the minimum number of digits of the exponent to 2, as required by C99 and POSIX. If the __USE_MINGW_ANSI_STDIO macro is not defined, the user will be

Re: [Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread JonY via Mingw-w64-public
On 05/06/2018 09:14 AM, Liu Hao wrote: > Remove the hacks to mimic old MS behavior and hardcode the minimum > number of digits of the exponent to 2, as required by C99 and POSIX. > > If the __USE_MINGW_ANSI_STDIO macro is not defined, the user will > be calling stdio functions from MSVCRT which

Re: [Mingw-w64-public] mingw-w64 v5 and gcc 8 fails

2018-05-06 Thread Christer Solskogen
On 06.05.2018 04:17, JonY via Mingw-w64-public wrote: Checked, I thought I saw it, must have been on the wrong branch. Just pushed to the v5.x branch. And now it works. Thanks! -- chs -- Check out the vibrant tech

[Mingw-w64-public] [PATCH] crt/stdio/mingw_pformat.c: Make the %e specifier compliant to C99.

2018-05-06 Thread Liu Hao
Remove the hacks to mimic old MS behavior and hardcode the minimum number of digits of the exponent to 2, as required by C99 and POSIX. If the __USE_MINGW_ANSI_STDIO macro is not defined, the user will be calling stdio functions from MSVCRT which this change will not interfere with.

Re: [Mingw-w64-public] mingw-w64 v5 and gcc 8 fails

2018-05-06 Thread Mateusz
W dniu 06.05.2018 o 04:17, JonY via Mingw-w64-public pisze: > On 05/05/2018 11:46 AM, Mateusz wrote: >> W dniu 05.05.2018 o 11:57, JonY via Mingw-w64-public pisze: >>> On 05/04/2018 02:49 PM, Mateusz wrote: The patch is only in master (v6) branch