[all-commits] [llvm/llvm-project] fda737: [libc++] Guard <codecvt> contents on _LIBCPP_HAS_L...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Feb 28 12:42:05 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fda7373daf5790833101c504be1c749bbb0fceb8
https://github.com/llvm/llvm-project/commit/fda7373daf5790833101c504be1c749bbb0fceb8
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M libcxx/include/codecvt
Log Message:
-----------
[libc++] Guard <codecvt> contents on _LIBCPP_HAS_LOCALIZATION (#129112)
The codecvt class is defined in <locale> and the contents of the
<codecvt> header don't work when localization is disabled. Without this
guard, builds with localization disabled that happen to include
<codecvt> could be broken because they would try to include <__locale>,
which ends up trying to include the locale base API and eventually
platform headers like <xlocale.h> that may not exist.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list