Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | - The implementation of the function ``std::to_chars`` for integral types has | ||||
moved from the dylib to the header. This means the function no longer has a | moved from the dylib to the header. This means the function no longer has a | ||||
minimum deployment target. | minimum deployment target. | ||||
API Changes | API Changes | ||||
----------- | ----------- | ||||
- The ``_LIBCPP_ABI_UNSTABLE`` macro has been removed in favour of setting | - The ``_LIBCPP_ABI_UNSTABLE`` macro has been removed in favour of setting | ||||
``_LIBCPP_ABI_VERSION=2``. This should not have any impact on users because | ``_LIBCPP_ABI_VERSION=2``. This should not have any impact on users because | ||||
they were not supposed to set ``_LIBCPP_ABI_UNSTABLE`` manually, however we | they were not supposed to set ``_LIBCPP_ABI_UNSTABLE`` manually, however we | ||||
still feel that it is worth mentioning in the release notes in case some users | still feel that it is worth mentioning in the release notes in case some users | ||||
had been doing it. | had been doing it. | ||||
Quuxplusone: @ldionne wrote:
> does have the problem that if we want to be able to enable the debugging mode… | |||||
Thanks for that, please see my reply. ldionne: Thanks for that, please see my reply. | |||||
- The header ``<experimental/filesystem>`` has been removed. Instead, use | - The header ``<experimental/filesystem>`` has been removed. Instead, use | ||||
``<filesystem>`` header. The associated macro | ``<filesystem>`` header. The associated macro | ||||
``_LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM`` has also been removed. | ``_LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM`` has also been removed. | ||||
- Some libc++ headers no longer transitively include all of: | - Some libc++ headers no longer transitively include all of: | ||||
- ``<algorithm>`` | - ``<algorithm>`` | ||||
- ``<chrono>`` | - ``<chrono>`` | ||||
- ``<functional>`` | - ``<functional>`` | ||||
Show All 22 Lines | |||||
- The ``_LIBCPP_DEBUG`` macro is not supported anymore. It will be honoured until | - The ``_LIBCPP_DEBUG`` macro is not supported anymore. It will be honoured until | ||||
LLVM 16, and then it will be an error to define that macro. To enable basic | LLVM 16, and then it will be an error to define that macro. To enable basic | ||||
assertions (previously ``_LIBCPP_DEBUG=0``), please use ``_LIBCPP_ENABLE_ASSERTIONS=1``. | assertions (previously ``_LIBCPP_DEBUG=0``), please use ``_LIBCPP_ENABLE_ASSERTIONS=1``. | ||||
To enable the debug mode (previously ``_LIBCPP_DEBUG=1|2``), please ensure that | To enable the debug mode (previously ``_LIBCPP_DEBUG=1|2``), please ensure that | ||||
the library has been built with support for the debug mode, and it will be | the library has been built with support for the debug mode, and it will be | ||||
enabled automatically (no need to define ``_LIBCPP_DEBUG``). | enabled automatically (no need to define ``_LIBCPP_DEBUG``). | ||||
- The ``_LIBCPP_DISABLE_EXTERN_TEMPLATE`` macro is not honored anymore when defined by | |||||
users of libc++. Instead, users not wishing to take a dependency on libc++ should link | |||||
against the static version of libc++, which will result in no dependency being | |||||
taken against the shared library. | |||||
ABI Changes | ABI Changes | ||||
----------- | ----------- | ||||
- The ``_LIBCPP_ABI_USE_CXX03_NULLPTR_EMULATION`` macro controlling whether we use an | - The ``_LIBCPP_ABI_USE_CXX03_NULLPTR_EMULATION`` macro controlling whether we use an | ||||
emulation for ``std::nullptr_t`` in C++03 mode has been removed. After this change, | emulation for ``std::nullptr_t`` in C++03 mode has been removed. After this change, | ||||
``_LIBCPP_ABI_USE_CXX03_NULLPTR_EMULATION`` will not be honoured anymore and there | ``_LIBCPP_ABI_USE_CXX03_NULLPTR_EMULATION`` will not be honoured anymore and there | ||||
will be no way to opt back into the C++03 emulation of ``std::nullptr_t``. | will be no way to opt back into the C++03 emulation of ``std::nullptr_t``. | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
@ldionne wrote:
It was always the case for debug iterators. I wrote an email to the libcxx-dev mailing list on 2021-05-01 and still haven't seen any reply to it.