[libcxx-commits] [PATCH] D125910: [libc++] Improve error messages for disabled modes

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 18 10:20:04 PDT 2022


ldionne created this revision.
ldionne added a reviewer: kubamracek.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

We should not surface CMake-level options like LIBCXX_ENABLE_FILESYSTEM
to our users, since they don't know what it means. Instead, use a slightly
more general wording.

Also, add an error in <ios> to improve the quality of errors for people
trying to use <iostream> when localization is disabled.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125910

Files:
  libcxx/include/barrier
  libcxx/include/filesystem
  libcxx/include/future
  libcxx/include/ios
  libcxx/include/latch
  libcxx/include/locale.h
  libcxx/include/semaphore
  libcxx/include/shared_mutex
  libcxx/include/thread

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125910.430438.patch
Type: text/x-patch
Size: 4306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220518/599bc063/attachment-0001.bin>


More information about the libcxx-commits mailing list