mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
msvc: disable compiler warnings when building all Externals (cl /W0), except for wxWidgets, where all warnings are fixed.
Note warnings may still be generated by code in Externals if it is included into warning-enabled code (this is the case for libusb). Also, quiet an intellisense warning in wxWidgets caused by using __w64 for an inapplicable type.
This commit is contained in:
4
Externals/wxWidgets3/include/wx/defs.h
vendored
4
Externals/wxWidgets3/include/wx/defs.h
vendored
@ -1228,7 +1228,9 @@ typedef wxUint32 wxDword;
|
||||
each time we cast it to a pointer or a handle (which results in hundreds
|
||||
of warnings as Win32 API often passes pointers in them)
|
||||
*/
|
||||
#if wxCHECK_VISUALC_VERSION(7)
|
||||
// (dolphin-emu) Just disable __w64 usage. It's not meant to be used anymore,
|
||||
// even on 32bit builds.
|
||||
#if 0
|
||||
#define wxW64 __w64
|
||||
#else
|
||||
#define wxW64
|
||||
|
Reference in New Issue
Block a user