在 2020/9/20 19:00, Jean Pierre Cimalando via Mingw-w64-public 写道: > Dear list, > > Hi I'm encountering this issue following the 8.0.0 update which > included major directX API updates from the IDL files. > > I am finding that the COM APIs which are overloaded are renamed with > underscore suffixes, and this creates an incompatibility with Windows > SDK. > In the previous revisions, which presumably were hand written, it would > use overloading and the C++ `using` statements. > > As an example, it prevents this line of code from being compiled. > It would have to rename `GetMatchingFonts` to `GetMatchingFonts_` so > that current Mingw-w64 will accept this code. > https://github.com/steinbergmedia/vstgui/blob/061905f6188cb9b73dd7852de85a634df67d8f98/vstgui/lib/platform/win32/direct2d/d2dfont.cpp#L44 >
It is now imported from Wine. Perhaps it's a necessary trade-off, because not having a suffix would cause errors in C. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public