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 -Wshadow to default compilation flags and fix a few occurrences. #30

Merged
merged 2 commits into from
Aug 11, 2016

Conversation

samhocevar
Copy link
Contributor

@samhocevar samhocevar commented Aug 11, 2016

This is not a grave warning, but since it does help find real bugs, there are great chances that a project using the PEGTL would use -Wshadow by default. I suggest using it by default, too.

@coveralls
Copy link

coveralls commented Aug 11, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 97b2953 on samhocevar:fix-shadow-warnings into 7377f63 on ColinH:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 927e327 on samhocevar:fix-shadow-warnings into 7377f63 on ColinH:master.

@d-frey d-frey merged commit e7752e8 into taocpp:master Aug 11, 2016
@d-frey d-frey self-assigned this Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants