Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc improvements for msvc build. -Werror for msvc! #833

Merged
merged 8 commits into from Aug 20, 2014
Merged

misc improvements for msvc build. -Werror for msvc! #833

merged 8 commits into from Aug 20, 2014

Conversation

shuffle2
Copy link
Contributor

The overall reason for these changes are to allow for treating compiler warnings as errors (we are already treating lib and linker warnings as errors) on msvc.
Other things included:
Improves code style in some areas which had to be touched to fix warnings.
Enables strictStrings standards conformance.

strictStrings is not supported by debug libraries, and indeed breaks the build.
Drop wbemidl.h (incompatible with strictStrings) dependency by using SDL-style search for XInput GUIDs.
@shuffle2
Copy link
Contributor Author

Same changes, but rewrote history to make it easier to review / look nicer.

… 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.
Note: vs14 will support empty macro parameter as used by MMIO.
Also, bring WiiSaveCrypted closer to modern dolphin coding style.
@lioncash
Copy link
Member

Looks good to me.

shuffle2 added a commit that referenced this pull request Aug 20, 2014
misc improvements for msvc build. -Werror for msvc!
@shuffle2 shuffle2 merged commit d29e333 into dolphin-emu:master Aug 20, 2014
@shuffle2 shuffle2 deleted the msvc-improvements branch August 20, 2014 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants