[llvm-bugs] [Bug 50102] New: clang 13 failed to compile range-v3 with -stdlib=libc++

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 23 08:36:56 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50102

            Bug ID: 50102
           Summary: clang 13 failed to compile range-v3 with
                    -stdlib=libc++
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hewillk at gmail.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

https://godbolt.org/z/shsasWvnT

In file included from <source>:1:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/all.hpp:17:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action.hpp:17:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action/action.hpp:23:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/action/concepts.hpp:23:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/range/concepts.hpp:39:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/iterator/concepts.hpp:30:
In file included from
/opt/compiler-explorer/libs/rangesv3/trunk/include/range/v3/iterator/access.hpp:22:
/opt/compiler-explorer/libs/rangesv3/trunk/include/std/detail/associated_types.hpp:270:60:
error: too many template arguments for class template '__iterator_traits'
            &is_std_iterator_traits_specialized_impl_(std::__iterator_traits<I,
B> *))[2];
                                                           ^                   
~~
/opt/compiler-explorer/clang-trunk-20210423/bin/../include/c++/v1/__iterator/iterator_traits.h:332:8:
note: template is declared here
struct __iterator_traits {};
       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210423/28f67672/attachment.html>


More information about the llvm-bugs mailing list