Changes between Initial Version and Version 2 of Ticket #69024


Ignore:
Timestamp:
Jan 3, 2024, 12:51:11 AM (4 months ago)
Author:
chrstphrchvz (Christopher Chavez)
Comment:

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:
    22
    33{{{
     
    77                         __binary_function
    88}}}
     9
     10{{{
     11qtesttable.cpp:141:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
     12class NamePredicate : public std::unary_function<QTestTablePrivate::Element, bool>
     13                             ~~~~~^~~~~~~~~~~~~~
     14                                  __unary_function
     15}}}