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

passing -Wshadow to gcc (v4.8.5) produces multiple warnings #779

Closed
gabime opened this issue Jun 10, 2018 · 0 comments
Closed

passing -Wshadow to gcc (v4.8.5) produces multiple warnings #779

gabime opened this issue Jun 10, 2018 · 0 comments

Comments

@gabime
Copy link
Contributor

gabime commented Jun 10, 2018

e.g.

In file included from include/fmt/format.h:40:0,
                 from test.cpp:4:
include/fmt/core.h: In constructor ‘fmt::basic_string_view<Char>::basic_string_view(const Char*, size_t)’:
include/fmt/core.h:218:5: warning: declaration of ‘size’ shadows a member of 'this' [-Wshadow]
     : data_(s), size_(size) {}
vitaut pushed a commit that referenced this issue Jun 12, 2018
@vitaut vitaut closed this as completed Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants