[Bug 27367] widl: gcc warns about pointer mismatch when calling pfnFree

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 4 07:43:56 CDT 2011


--- Comment #2 from Alex <cerebro.alexiel at gmail.com> 2011-06-04 07:43:56 CDT ---
You're right but in this case, wine SetFileTypes would not match the Windows
prototype anymore.

See http://msdn.microsoft.com/en-us/library/bb775980%28v=vs.85%29.aspx

Your proposed solution doesn't fix the problem but just this particular case.

I know casts are evil (because they often hide a real issue) but what about
this one ?

We could also simply ignore this warning as it has no real impact and (among
the 45 warnings I have), some are more important (e.g. call_server_func not
implemented for your architecture)

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list