ocidl.h header from xmingw-win32api package has buggy declaration of QACONTAINERFLAGS enum. The Mingw-Team has been informed and future releases of win32api package won't be buggy, but I think we can attach this patch do ebuild file to fix it quickly. My new ebuild for wxActiveX library for example needs this patch to compile. The patch for header file is attached. Reproducible: Always Steps to Reproduce: a.cpp: #include <olectl.h> b.cpp: #include <olectl.h> try to compile and link it. Actual Results: you will have linker error. Expected Results: applications using ole will link without problems.
Created attachment 28751 [details, diff] ocidl.h patch for xmingw-win32api package
Added patch, thanks