On Fri, Jun 28, 2019 at 11:17 AM Jean-Baptiste Kempf <j...@videolan.org> wrote: > > On Fri, May 31, 2019, at 17:53, Gravis wrote: > > I'm a huge fan of POSIX but POSIX functions should not be used in the > > MinGW-w64 CRT code as they are now. Using them in this way creates > > mandatory dependencies on additional libraries (e.g. MSVCRT). Since > > all libraries ultimately rely on Kernel32, it only makes sense to > > replace these POSIX functions with those from Kernel32, especially > > since they have almost identical substitutes. See also: > > https://support.microsoft.com/en-us/help/99456/win32-equivalents-for-c-run-time-functions > > If you can manage to do that, that would be very nice, indeed. > Also, maybe the compilers have builtins for some of those.
A number of builtins do some cursory optimization before calling out to the library anyway. _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public