redefinition of `class boost::algorithm::iterator_range<IteratorT>'

this program: #include <boost/algorithm/string.hpp> #include <boost/range.hpp> produces this error: In file included from /home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range.hpp:20, from range.cxx:2: /home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range/iterator_range.hpp:79: error: redefinition of `class boost::algorithm::iterator_range<IteratorT>' /home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/algorithm/string/iterator_range.hpp:50: error: previous definition of `class boost::algorithm::iterator_range<IteratorT>' /home/mgarriss/dev/tp-compiled/include/boost-1_32_0/boost/range/iterator_range.hpp:380: error: `template<class IteratorT> boost::algorithm::iterator_range<IteratorT> boost::make_iterator_range(IteratorT, IteratorT)' conflicts with previous using declaration `template<class IteratorT> boost::algorithm::iterator_range<IteratorT> boost::algorithm::make_iterator_range(IteratorT, IteratorT)'

"Michael Garriss" <mdg@absolute-performance.com> wrote in message news:426E6635.6030306@absolute-performance.com... | this program: | | #include <boost/algorithm/string.hpp> | #include <boost/range.hpp> | | produces this error: ลก a well know problem which will be fixed in the new release. -Thorsten
participants (2)
-
Michael Garriss
-
Thorsten Ottosen