The T2 macs need some drivers integrated into the installer https://twocanoes.com/boot-camp-changes-on-t2-macs/ https://gist.github.com/nuomi1/16133b89c2b38b7eb197
The T2 macs need some drivers integrated into the installer https://twocanoes.com/boot-camp-changes-on-t2-macs/
The T2 needs some drivers integrated into the installer https://twocanoes.com/boot-camp-changes-on-t2-macs/
Right, but this is applicable only for Qemu and the patch cannot be applied universally to every Qemu static release only to the source code i.e. latest release.
So ConvertStringToBSTR with proper C++ vague linkage (type 3.1) is needed, which means: Making sure an out-of-line definition exists when needed Using weak symbols (.weak / .linkonce) to allow multiple definitions Not using gnu_inline which has type 1.3 semantics (never emits definition)
Can you please link the discussion? What is the issue?
used this workaround temporarily: --- a/qga/vss-win32/install.cpp +++ b/qga/vss-win32/install.cpp @@ -548,7 +548,7 @@ } -/* Support function to convert ASCII string into BSTR (used in _bstr_t) */ +#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 14 /* Support function to convert ASCII string into BSTR (used in _bstr_t) */ namespace _com_util { BSTR WINAPI ConvertStringToBSTR(const char *ascii) { @@ -566,6 +566,7 @@ return bstr; } } +#endif /* __MINGW64_VERSION_MAJOR < 14 */ /* Stop...
Something like this: // In mingw-w64-headers/include/comutil.h namespace _com_util { __attribute__((__gnu_inline__)) inline BSTR WINAPI ConvertStringToBSTR(const char *pSrc){ // ... existing implementation ... } __attribute__((__gnu_inline__)) inline char *WINAPI ConvertBSTRToString(BSTR pSrc){ // ... existing implementation ... } }