1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00
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 whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
basetsd.h loader: Remove __ptr32 and __ptr64 typedefs 2011-01-29 04:05:28 +02:00
debugtools.h Get rid of pointless 'extern' keywords. 2008-12-03 23:01:03 +00:00
driver.h whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
elfdll.h loader: Remove commented-out extra_ld_library_path cruft. 2010-03-23 20:24:14 +00:00
heap.h Get rid of pointless 'extern' keywords. 2008-12-03 23:01:03 +00:00
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 whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
msacm.h Mark parameterless function declarations as (void). Fixes the warnings: 2010-04-04 16:21:07 +00:00
msacmdrv.h whitespace cosmetics: Remove all trailing whitespace. 2009-05-13 02:58:57 +00:00
ntdef.h Remove extern "C" declarations from loader code. 2010-02-11 14:33:57 +00:00
objbase.h Add required header #includes to satisfy 'make checkheaders'. 2010-01-04 20:36:27 +00:00
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 Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
pshpack1.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
pshpack2.h Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
pshpack4.h cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
pshpack8.h Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
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 Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
winestring.h Add MPLAYER_ prefix to multiple inclusion guards. 2008-02-23 14:50:55 +00:00
winnt.h Use ARCH_X86_32 instead of the compiler-specific __i386__ 2010-01-12 20:26:15 +00:00
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