Changes between Initial Version and Version 2 of Ticket #69024
- Timestamp:
- Jan 3, 2024, 12:51:11 AM (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #69024 – Description
initial v2 1 `std::unary_function` and `std::binary_function` from libc++ are deprecated in the macOS 13 SDK, and disabled by default in LLVM.org Clang 15 and the macOS 14 SDK when building with C++17 or later (unless `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` is defined). Example :1 `std::unary_function` and `std::binary_function` from libc++ are deprecated in the macOS 13 SDK, and disabled by default in LLVM.org Clang 15 and the macOS 14 SDK when building with C++17 or later (unless `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` is defined). Examples: 2 2 3 3 {{{ … … 7 7 __binary_function 8 8 }}} 9 10 {{{ 11 qtesttable.cpp:141:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? 12 class NamePredicate : public std::unary_function<QTestTablePrivate::Element, bool> 13 ~~~~~^~~~~~~~~~~~~~ 14 __unary_function 15 }}}