You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which compiler and warning flag? Spirit is not clear for -Wshadow.
I will check what I can do about it, however the last time I tried there were hard to fix local shadowing in macros and namespace global shadowing that requires an API breaking to fix.
First of all, thanks for your prompt response and I really appreciate your wonderful work to boost library which I sincerely hope to do a little bit of my part.
Compiler: gcc-10.2.0
warning flag: -Wshadow-compatible-local
boost: I tried 1.72 and see the latest one is the same as 1.72 on this particular issue.
example code: word_count_functor.cpp
BTW, just FYI, I am using this simple script to build/install my gcc-10.2.0 and hope it may save you some time if you haven't installed gcc-10.2 yet in your system.
spirit/include/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp
Line 526 in 32b40e9
This local variable shadows function parameter >ch_<
CharT ch_ = static_cast (start_);
It is a trivial issue, but it is nice that somebody can rename this local variable.
The text was updated successfully, but these errors were encountered: