Hi Chip,
On 08.04.2020 08:05, Chip Davis wrote:
Clang warns when casting between function pointer types where the calling conventions differ; this is of course intended to catch bugs that we ourselves have had to work around. But the casts here are compatible with what MIDL generates, so there isn't much we can do here beyond disabling the warning. This is generated code anyway; it should be expected to work.
I think we should try to fix it on widl side. For example, is there any reason we can't just use explicit (void*) cast in generated code instead?
Thanks,
Jacek