2016-08-22 8:43 GMT+02:00 David Wohlferd <d...@limegreensocks.com>: > On 8/21/2016 11:17 PM, Martin Storsjö wrote: >> 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 don't think I've ever seen this used this way. I'm ok with that. > >>> I have added 'void' every place clang complained (attached). >> The patch seems fine to me, assuming these functions really take no >> parameters. > > I'd be tempted to just say "stop doing that" if someone was doing this > intentionally, but I did check. > > dw
Patch is fine. Please go ahead, and apply. Thanks, Kai ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public