On Thu, 8 Apr 2021, Liu Hao wrote: > I don't think it is a regression, because there is `MSVC` in the comment on > that line, and if MSVC was used to compile that file (with UCRT), the same > error will occur. It's probably better to add `#elif defined _UCRT` above that > line, and define a private `struct __crt_stdio_stream_data` there.
I started looking at doing as you advised, and saw https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/stdio-impl.h#n162 It looks like gnulib would Do The Right Thing if _IOERR were not defined for UCRT. Could you do that? _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
