Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Liu Hao
在 2018/11/1 22:53, Ozkan Sezer 写道: >> Are there any existent projects where `__USE_MINGW_ANSI_STDIO` is >> defined as something other than `0` or `1`, if it is defined at all, >> including empty? > > That would be a bug, and I'd recommend applying this patch. > > Just in case, you guys should

Re: [Mingw-w64-public] [PATCH] inttypes.h: Take into account __USE_MINGW_ANSI_STDIO and msvcrt version instead of depending on _mingw_print_p*.h headers.

2018-11-01 Thread Liu Hao
在 2018/11/2 5:31, Jacek Caban 写道: > The patch changes configure.ac, so you need to run autoconf after > applying it. > This patch looks good to me. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___

Re: [Mingw-w64-public] [PATCH] inttypes.h: Take into account __USE_MINGW_ANSI_STDIO and msvcrt version instead of depending on _mingw_print_p*.h headers.

2018-11-01 Thread Jacek Caban
On 01/11/2018 21:35, Mateusz wrote: W dniu 31.10.2018 o 20:12, Jacek Caban pisze: make all-am make[1]: Entering directory '/home/ma/m/build/bc_m64_head' make[1]: *** No rule to make target 'crt/_mingw_print_push.h', needed by 'all-am'. Stop. make[1]: Leaving directory

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Earnie via Mingw-w64-public
On 11/1/2018 1:22 PM, Mateusz wrote: > W dniu 01.11.2018 o 16:06, Earnie via Mingw-w64-public pisze: >> On 11/1/2018 10:53 AM, Earnie wrote: >>> >>> >>> On 11/1/2018 10:33 AM, Liu Hao wrote: 在 2018/11/1 9:52, Mateusz 写道: > During discussion about inttypes I realized that we check (in

Re: [Mingw-w64-public] [PATCH] inttypes.h: Take into account __USE_MINGW_ANSI_STDIO and msvcrt version instead of depending on _mingw_print_p*.h headers.

2018-11-01 Thread Mateusz
W dniu 31.10.2018 o 20:12, Jacek Caban pisze: > We had a discussion about it and I'd like to get it back to the patch. I > tested it some more and I think it's ready. Please review the patch. > > There was a concern that applications might define > __USE_MINGW_ANSI_STDIO but instead of including

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Mateusz
W dniu 01.11.2018 o 16:06, Earnie via Mingw-w64-public pisze: > On 11/1/2018 10:53 AM, Earnie wrote: >> >> >> On 11/1/2018 10:33 AM, Liu Hao wrote: >>> 在 2018/11/1 9:52, Mateusz 写道: During discussion about inttypes I realized that we check (in header files) if

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Earnie via Mingw-w64-public
On 11/1/2018 10:53 AM, Earnie wrote: > > > On 11/1/2018 10:33 AM, Liu Hao wrote: >> 在 2018/11/1 9:52, Mateusz 写道: >>> During discussion about inttypes I realized that we check (in header files) >>> if >>> __USE_MINGW_ANSI_STDIO is active in non consistent way: >>> #if

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Earnie via Mingw-w64-public
On 11/1/2018 10:33 AM, Liu Hao wrote: > 在 2018/11/1 9:52, Mateusz 写道: >> During discussion about inttypes I realized that we check (in header files) >> if >> __USE_MINGW_ANSI_STDIO is active in non consistent way: >> #if defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0) >>

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread Liu Hao
在 2018/11/1 9:52, Mateusz 写道: > During discussion about inttypes I realized that we check (in header files) if > __USE_MINGW_ANSI_STDIO is active in non consistent way: > #if defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0) > #elif defined(__USE_MINGW_ANSI_STDIO) > #if

Re: [Mingw-w64-public] [PATCH] winternl.h: Added PUBLIC_OBJECT_TYPE_INFORMATION declaration.

2018-11-01 Thread JonY via Mingw-w64-public
On 11/01/2018 12:13 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/winternl.h | 5 + > 1 file changed, 5 insertions(+) > Patch looks good to me, resent (last email went out with the wrong address). signature.asc Description: OpenPGP digital

Re: [Mingw-w64-public] [PATCH] Always define __USE_MINGW_ANSI_STDIO as 0 or 1 in _mingw.h

2018-11-01 Thread JonY via Mingw-w64-public
On 11/01/2018 01:52 AM, Mateusz wrote: > During discussion about inttypes I realized that we check (in header files) if > __USE_MINGW_ANSI_STDIO is active in non consistent way: > #if defined(__USE_MINGW_ANSI_STDIO) && ((__USE_MINGW_ANSI_STDIO + 0) != 0) > #elif defined(__USE_MINGW_ANSI_STDIO) >

Re: [Mingw-w64-public] [PATCH] winternl.h: Added PUBLIC_OBJECT_TYPE_INFORMATION declaration.

2018-11-01 Thread JonY
On 11/01/2018 12:13 PM, Jacek Caban wrote: > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/winternl.h | 5 + > 1 file changed, 5 insertions(+) > Patch looks good to me. signature.asc Description: OpenPGP digital signature ___