I think the ideal solution would allow programs to take the address of these functions since MSVC allows it.
For this we could either find a version of inline attributes that allows emission and doesn't cause duplicate symbol errors during link, or, keep the headers as they are and provide the the definitions in the library explicitly. On Tue, Jul 13, 2021, 6:55 AM LIU Hao <[email protected]> wrote: > 在 7/13/21 6:33 PM, Martin Storsjö 写道: > >> > >> It appears to fix the issue yes. Here's a patch with that solution: > >> > >> > > `static inline` looks the safest solution, as long as the address of those > functions aren't taken. > > > -- > Best regards, > LIU Hao > > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
