Marcus Meissner marcus@jet.franken.de writes:
Changelog: Fixed some warnings from newer gccs in regards to pointer aliasing problems by using unions instead of using (void**)&ptr constructs.
All these unions are ugly IMO, it would be better to use an intermediate pointer instead, something like:
void *ptr; ISomething *iface;
IUnknown_QueryInterface(...,&ptr); iface = ptr;