|
Boost Users : |
From: Bryan Green (bgreen_at_[hidden])
Date: 2007-07-16 20:53:04
Hello,
I'm reporting some warnings I'm getting from gcc when I compile
with my code with -Wshadow (Boost 1.34). Not critical, just annoying (makes
it harder to catch warnings in my own code).
/usr/include/boost/signal.hpp:345: warning: declaration of 'combiner'
shadows a member of 'this'
/usr/include/boost/signals/signal_template.hpp:348: warning: declaration of
'result_type' shadows a member of 'this'
/usr/include/boost/signals/detail/slot_call_iterator.hpp:51: warning:
declaration of 'f' shadows a member of 'this'
/usr/include/boost/program_options/parsers.hpp:34: warning: declaration of
'description' shadows a member of 'this'
/usr/include/boost/variant/variant.hpp:1115: warning: declaration of 'which'
shadows a member of 'this'
/usr/include/boost/variant/variant.hpp:1120: warning: declaration of 'which'
shadows a member of 'this'
The variant ones are especially problematic, as the printout of the
instantiation heirarchy is several pages long.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net