On 11/2/2018 1:38 AM, Liu Hao wrote: > 在 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 check documentation (wiki, etc) >> and clarify as necessary. >> >> > > There is a page on our wiki [1] which doesn't mention the behavior when > it is defined as anything other than a literal `1`. > > > [1] https://sourceforge.net/p/mingw-w64/wiki2/printf%20and%20scanf%20family/
Maybe add after the "before including any system headers." something like "A value other than 1 causes undefined behavior." -- Earnie _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public