[Bug 278630] lang/gcc13: GCC fails with an error: use of built-in trait '__remove_cvref(_InIter1)' in function signature; use library traits instead (on the port math/kamis on armv7)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Apr 2024 08:57:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278630

            Bug ID: 278630
           Summary: lang/gcc13: GCC fails with an error: use of built-in
                    trait '__remove_cvref(_InIter1)' in function
                    signature; use library traits instead (on the port
                    math/kamis on armv7)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: salvadore@freebsd.org
                CC: salvadore@freebsd.org

In file included from
/usr/include/c++/v1/__algorithm/ranges_set_difference.h:15,
                 from /usr/include/c++/v1/algorithm:1851,
                 from
/wrkdirs/usr/ports/math/kamis/work/KaMIS-2.1/extern/KaHIP/lib/partition/uncoarsening/separator/vertex_separator_flow_solver.cpp:8:
/usr/include/c++/v1/__algorithm/set_difference.h: In instantiation of
'std::__1::pair<__remove_cvref(_InIter1), __remove_cvref(_OutIter)>
std::__1::__set_difference(_InIter1&&, _Sent1&&, _InIter2&&, _Sent2&&,
_OutIter&&, _Comp&&) [with _AlgPolicy = _ClassicAlgPolicy; _Comp =
__less<unsigned int>; _InIter1 = __wrap_iter<unsigned int*>&; _Sent1 =
__wrap_iter<unsigned int*>&; _InIter2 = __wrap_iter<unsigned int*>&; _Sent2 =
__wrap_iter<unsigned int*>&; _OutIter = __wrap_iter<int*>&]':
/usr/include/c++/v1/__algorithm/set_difference.h:32:1: error: use of built-in
trait '__remove_cvref(_InIter1)' in function signature; use library traits
instead
   32 | __set_difference(
      | ^~~~~~~~~~~~~~~~
/usr/include/c++/v1/__algorithm/set_difference.h:32:1: error: use of built-in
trait '__remove_cvref(_OutIter)' in function signature; use library traits
instead

-- 
You are receiving this mail because:
You are the assignee for the bug.