Boost logo

Boost :

Subject: [boost] clang failing core/detail_iterator_test?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-06 16:38:10


Does anyone have any idea why Clang doesn't like detail_iterator_test? As an
example,

http://www.boost.org/development/tests/develop/developer/output/BP%20x86_64%20C++11-boost-bin-v2-libs-core-test-detail_iterator_test-test-clang-linux-3-5~c14_libc++-debug-debug-symbols-off.html

../libs/core/test/detail_iterator_test.cpp:79:76: error: no member named
'iterator_category' in 'boost::detail::iterator_traits<iterator<C, T, D, P,
R> >'
        BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::iterator_category,C>));
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

I'm having endless trouble trying to get a version of Clang up and running
here (on Windows), as is customary.

This:

../libs/core/test/detail_iterator_test.cpp:136:17: error: default
initialization of an object of const type 'const T [5]'
        T const x[ N ];
                ^

I know what is about, and I've fixed that already.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk