On 11/02/2018 08:28 PM, Mateusz wrote: > W dniu 01.11.2018 o 14:16, JonY pisze: >> 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) >>> #if !defined (__USE_MINGW_ANSI_STDIO) || __USE_MINGW_ANSI_STDIO == 0 >>> >>> Attached patch simplified checking if __USE_MINGW_ANSI_STDIO is active -- it >>> always define __USE_MINGW_ANSI_STDIO to 0 or 1 in _mingw.h so now it should >>> be >>> simple: >>> #if __USE_MINGW_ANSI_STDIO /* active */ >>> #if __USE_MINGW_ANSI_STDIO == 0 /* not active */ >>> >>> Please review. >>> >>> Regards, >>> Mateusz >>> >> >> >> Patch looks good to me. > > I've attached new version of this patch that works with current tip. > > I've added patch 0002 that sets printf format attribute according to new > logic in inttypes.h. > > Regards, > Mateusz >
This version looks good too.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public