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:
Shawn Hoffman
2014-08-19 20:12:14 -07:00
parent 9df2127865
commit 317e63e7ba
15 changed files with 27 additions and 3 deletions

View File

@ -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