On Thursday 27 February 2025 22:36:20 Lasse Collin wrote: > On 2025-02-27 Vincent Torri wrote: > > maybe GetFileInformationByHandle instead of stat ? > > There are valid reasons to use a completely different implementation of > stat. My post wasn't about creating a new one, it's about correctly > supporting the existing CRT functions in mingw-w64. Currently mingw-w64 > breaks UCRT's _stat when building with optimizations disabled.
Exactly and that is why I suggested in other email to remove those inline / optimizations and provide correct implementation in import library for all variants. Then it would work for any combination of optimization, including the LTO optimization. And would also decrease the maintenance burden of inline variants in header files. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
