|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-04-16 14:06:56
Roman Neuhauser <neuhauser_at_[hidden]> writes:
> My CFLAGS provoke two instances of the "'x' shadows a member 'this'"
> warning in filter_iterator constructors. Although the code is ok, I'd
> still like to ask for a change so that I may return to using -Werror
> without tinkering with the installed boost. :)
>
> /usr/local/include/boost/iterator/filter_iterator.hpp: In constructor `boost::filter_iterator<Predicate, Iterator>::filter_iterator(Predicate, Iterator, Iterator)':
> /usr/local/include/boost/iterator/filter_iterator.hpp:57: warning: declaration of 'end' shadows a member of 'this'
> /usr/local/include/boost/iterator/filter_iterator.hpp: In constructor `boost::filter_iterator<Predicate, Iterator>::filter_iterator(Iterator, Iterator)':
> /usr/local/include/boost/iterator/filter_iterator.hpp:63: warning: declaration of 'end' shadows a member of 'this'
>
> So long, and thanks for all the software!
Patched on the HEAD and RC_1_34_0
Thanks for the report!
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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