-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Remove gcc 6 misleading indentations warnings #913
Remove gcc 6 misleading indentations warnings #913
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I signed it! |
CLAs look good, thanks! |
f47d0bf
to
4cadaf8
Compare
Ping |
Thank you very much for this contribution. Please provide testing output that clearly demonstrates before/after. |
Huh I am not sure to understand. Gcc emits indentation warnings, this is a stylish fix for something that gcc considers is error prone. The patch itself can be debated if you want, but I doubt any unittest will change anything in that matter, since this is a pure stylish fix. |
Hello. Just show the run before / after that's all, the warnings before and no warnings after, very simple |
I could find an old unpatched gtest library where we had the issue. When I build with gcc 6 -Wall -Werror -Wextra, I get:
with the patch, this warning disappears. |
Thank you and sorry for the delay. |
501aa32
to
20e2de7
Compare
Yep sorry for the delay. I fixed the coding style, and regenerated the generated file with pump.py + rebased on top of current master. |
This removes some simple warnings that I hit when using Gmock with gcc6 and -Wall -Wextra -Werror.