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

Add the g_ prefix to the jit global #4624

Merged
merged 1 commit into from Jan 8, 2017

Conversation

leoetlino
Copy link
Member

@leoetlino leoetlino commented Jan 7, 2017

<leoetlino>   fwiw, it looks like there are new warnings in the RegCache code
<leoetlino>   Source/Core/Core/PowerPC/Jit64/FPURegCache.cpp:13:33: warning: declaration shadows a variable in the global namespace [-Wshadow]
<Lioncash>    yeah, the jit global should have a g_ prefix.

This adds the g_ prefix to a global, which fixes shadowing warnings.


This change is Reviewable

Jan 04 22:55:01 <leoetlino>   fwiw, it looks like there are new warnings in the RegCache code
Jan 04 22:55:04 <leoetlino>   Source/Core/Core/PowerPC/Jit64/FPURegCache.cpp:13:33: warning: declaration shadows a variable in the global namespace [-Wshadow]
Jan 04 22:56:19 <@lioncash>   yeah, the jit global should have a g_ prefix.

This fixes shadowing warnings and adds the g_ prefix to a global.
@Parlane
Copy link
Member

Parlane commented Jan 7, 2017

You missed ARM files? /var/lib/buildbot/slave/pr-android/build/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp

@leoetlino
Copy link
Member Author

Yes. This should be all fixed now though

@Parlane Parlane merged commit 7a5fe4b into dolphin-emu:master Jan 8, 2017
@leoetlino leoetlino deleted the jit-warning-fixes branch January 8, 2017 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants