On Sun, 21 Aug 2016, David Wohlferd wrote:

> To my surprise, these two statements have (slightly) different meanings:
>
>  STDAPI MFUnregisterPlatformFromMMCSS ();
>  STDAPI MFUnregisterPlatformFromMMCSS (void);
>
> And clang complains about it (warning: function with no prototype cannot use 
> the stdcall calling convention).

Yes - the former means any number of parameters.

> I have added 'void' every place clang complained (attached).

The patch seems fine to me, assuming these functions really take no 
parameters.

// Martin

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to