-
Bug
-
Resolution: Unresolved
-
Medium
-
Code Generation Tools
-
CODEGEN-4105
-
The include file, libcxx/algorithm, that is provided with the TI Arm C/C++ Code Generation Tools v20.2.x.LTS installation contains a reference to a C++ '>=' operator for the _RandomAccessIterator class implementation in the C++ runtime library, that is not properly defined.
The reference to the undefined '>=' operator occurs on line 1713 of include/libcxx/algorithm and will cause the compiler to emit an error ...
"/<install directory>/include/libcxx/algorithm", line 1713: error: no operator ">=" matches these operands
operand types are: Iterator >= const Iterator
detected during instantiation of "RandomAccessIterator std::2::search_n(_RandomAccessIterator, _RandomAccessIterator, _Size, const _Tp &, _BinaryPredicate, std::_2::random_access_iterator_tag) [with _BinaryPredicate=std::__2::__equal_to<S, Value> &, _RandomAccessIterator=Iterator, _Size=unsigned int, _Tp=Value]" at line 1743
when the __search_n() template starting at include/libcxx/algorithm line 1699 is instantiated.