mpv/loader/wine
wm4 24be34f1e9 cleanup: Silence compilation warnings on MinGW-w64
Some of the code, especially the dshow and windows codec loader parts,
are extremely hacky and likely full of bugs. The goal is merely getting
rid of warnings that could obscure more important warnings and actual
bugs, instead of fixing actual problems. This reduces the number of
warnings from over 500 to almost the same as when compiling on Linux.

Note that many problems stem from using the ancient wine-derived
windows headers. There are some differences to the "proper" windows
header. Changing the code to compile with the proper headers would be
too much trouble, and it still has to work on Unix.

Some of the changes might actually break compilation on legacy MinGW,
but we don't support that anymore. Always use MinGW-w64, even when
compiling to 32 bit.

Fixes some warnings in the win32 loader code on Linux too.
2012-03-01 00:22:30 +02:00
..
avifmt.h
basetsd.h loader: Remove __ptr32 and __ptr64 typedefs 2011-01-29 04:05:28 +02:00
debugtools.h
driver.h
elfdll.h loader: Remove commented-out extra_ld_library_path cruft. 2010-03-23 20:24:14 +00:00
heap.h
ldt.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
mmreg.h Directly mark structs as WINE_PACKED where all members are marked as packed. 2010-02-14 14:49:44 +00:00
module.h
msacm.h Mark parameterless function declarations as (void). Fixes the warnings: 2010-04-04 16:21:07 +00:00
msacmdrv.h
ntdef.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
objbase.h
pe_image.h Directly mark structs as WINE_PACKED where all members are marked as packed. 2010-02-14 14:49:44 +00:00
poppack.h
pshpack1.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
pshpack2.h
pshpack4.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
pshpack8.h
vfw.h Add public function VideoForWindowsVersion() to the appropriate header file. 2010-02-21 23:33:03 +00:00
winbase.h cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
windef.h cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
windows.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
winerror.h
winestring.h
winnt.h
winreg.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
winuser.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00