-
Notifications
You must be signed in to change notification settings - Fork 159
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
Global shadowing warnings #730
Comments
Fixing global shadowing warnings is on my TODO, but at very low priority due to little value and high intrusiveness of the fix. |
Kojoley
changed the title
Declaration of "attr", "char_type" hides global Declaration
Global shadowing warnings
Aug 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using MSVC with enabled Warning /W4 I get the warning on Boost 1.78
H:.conan\short\8c1894\1\include\boost\spirit\home\x3\auxiliary\any_parser.hpp(121): warning C4459: Declaration of "attr" hides global Declaration
H:.conan\short\8c1894\1\include\boost\spirit\home\x3\auxiliary\attr.hpp(126): note: see Declaration of "boost::spirit::x3::attr"
H:.conan\short\8c1894\1\include\boost\spirit\home\x3\support\no_case.hpp(56): warning C4459: Declaration of "char_type" hides global Declaration
H:.conan\short\8c1894\1\include\boost\spirit\home\x3\char\char.hpp(20): note: see Declaration of "boost::spirit::x3::standard::char_type"
I haven't checked it with v1.80 yet. Please fix the naming so once is able to compile with higher warning levels on MSVC; otherwise close this issue please.
The text was updated successfully, but these errors were encountered: