[MacPorts] #68592: libical fails to build with gcc on 10.6.8 x86_64: error: expected identifier before '__is_convertible'

MacPorts noreply at macports.org
Sat Dec 30 01:05:56 UTC 2023


#68592: libical fails to build with gcc on 10.6.8 x86_64: error: expected
identifier before '__is_convertible'
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  snowleopard, x86_64
      Port:  libical       |
---------------------------+---------------------------------

Comment (by barracuda156):

 Any idea what causes this? I just got it on PowerPC with `libc++`:
 {{{
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from rar.cpp:1:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from strlist.cpp:1:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from strfn.cpp:1:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from pathfn.cpp:1:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from smallfn.cpp:1:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 In file included from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/exception:83,
                  from
 /opt/local/libexec/gcc13/libc++/include/c++/v1/new:91,
                  from os.hpp:15,
                  from rar.hpp:6,
                  from global.cpp:7:
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected identifier before '__is_convertible'
  1501 | struct __is_convertible
       |        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1501:8: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected identifier before '__is_convertible'
  1515 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1515:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected identifier before '__is_convertible'
  1516 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1516:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected identifier before '__is_convertible'
  1517 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1517:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected identifier before '__is_convertible'
  1518 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 1> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1518:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected identifier before '__is_convertible'
  1520 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1520:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected identifier before '__is_convertible'
  1521 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1521:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected identifier before '__is_convertible'
  1522 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1522:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected identifier before '__is_convertible'
  1523 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 2> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1523:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected identifier before '__is_convertible'
  1525 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 0, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1525:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected identifier before '__is_convertible'
  1526 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 1, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1526:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected identifier before '__is_convertible'
  1527 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 2, 3> : public false_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1527:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected identifier before '__is_convertible'
  1528 | template <class _T1, class _T2> struct __is_convertible<_T1, _T2,
 3, 3> : public true_type {};
       |                                        ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1528:40: error:
 expected unqualified-id before '__is_convertible'
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected class-name before '__is_convertible'
  1531 |     : public __is_convertible<_T1, _T2>
       |              ^~~~~~~~~~~~~~~~
 /opt/local/libexec/gcc13/libc++/include/c++/v1/type_traits:1531:14: error:
 expected '{' before '__is_convertible'
 make: *** [rar.o] Error 1
 }}}

 Came here to look for related tickets, and here we go, same error on
 10.6.8 Intel.

-- 
Ticket URL: <https://trac.macports.org/ticket/68592#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list