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

More warning fixes #6142

Merged
merged 7 commits into from Jul 1, 2019
Merged

More warning fixes #6142

merged 7 commits into from Jul 1, 2019

Conversation

MSuih
Copy link
Member

@MSuih MSuih commented Jun 28, 2019

Continuing the work started in #5964, but this time by using MSVC with CMake. Doesn't fix every warning but cleans up a lot of the mess that was being spat out by the compiler.

rpcs3/Emu/RSX/CgBinaryProgram.h Outdated Show resolved Hide resolved
rpcs3/Emu/RSX/CgBinaryProgram.h Outdated Show resolved Hide resolved
rpcs3/Emu/Cell/Modules/cellHttpUtil.cpp Outdated Show resolved Hide resolved
Utilities/File.cpp Outdated Show resolved Hide resolved
MSuih added 7 commits July 1, 2019 04:20
These are technically UB but work just fine
- Fix a typo in OpenAL
- Fix typo in cellHttp.h
- Unused variables in catch
- Use 64-bit shifts
- Use use_count with shared pointers, unique is depracated and getting removed
- Explicitly cast boolean to int
- Signed/unsigned issues with loop variables
- Fix missing return statement (the code path is unreachable, but compiler wants a return)
- */ ouside of comment
- Fix duplicate layout name
@Nekotekina Nekotekina merged commit 690cdff into RPCS3:master Jul 1, 2019
@MSuih MSuih deleted the warnings branch July 23, 2019 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants