|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-04-17 16:05:34
Hi David,
"David A. Greene" <greened_at_[hidden]> writes:
> I'm using BGL 1.27 and when I compile with g++ -Wshadow, I get
> lots of warnings like these:
>
> /usr/include/boost/concept_check.hpp: In method `void
> boost::ContainerConcept<Container>::const_constraints(const Container &)':
> /usr/include/boost/concept_check.hpp:665: warning: declaration of `c'
> shadows a member of `this'
> /usr/include/boost/concept_check.hpp: In method `void
> boost::Mutable_ForwardContainerConcept<ForwardContainer>::constraints()':
> /usr/include/boost/concept_check.hpp:715: warning: declaration of
> `iterator' shadows global declaration
>
> I get these in concept_check, property_map, graph_concepts, etc.
> Is there any way to clean them up?
Thanks for bringing this flag to my attention. I didn't know
about it.
I'm currently extremely busy with school work, so it may take a while
for me to get to this. If you want to send me a patch to fix these
problems I'd be thankful.
Cheers,
Jeremy
----------------------------------------------------------------------
Jeremy Siek http://php.indiana.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk