在 2022/12/21 17:06, Alvin Wong via Mingw-w64-public 写道:
On 21/12/2022 16:45, LIU Hao wrote:If you define `WIN32_LEAN_AND_MEAN` (either `#define` it or pass `-DWIN32_LEAN_AND_MEAN` to GCC) before inclusion of <windows.h>, then the error will go away. This seems to be yet another reason why `WIN32_LEAN_AND_MEAN` should be preferred....which only works if you don't need to use any COM interfaces. `#include <unknwn.h>` will bring back the `interface` macro.
Isn't the person who has done that supposed to have acknowledged that `interface` is a macro which shouldn't be used for variables?
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
