[libcxx-commits] [libcxx] [libcxx] don't `#include <cwchar>` if wide chars aren't enabled (PR #99911)

Jack Styles via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 23 04:11:25 PDT 2024


================
@@ -237,21 +237,21 @@ namespace std {
 #  include <cstdint>
 #  include <cstdlib>
 #  include <cstring>
-#  include <cwchar>
 #  include <initializer_list>
 #  include <limits>
+#  include <locale>
 #  include <new>
 #  include <optional>
+#  include <queue>
+#  include <stack>
 #  include <stdexcept>
 #  include <string>
 #  include <string_view>
 #  include <tuple>
-#endif
 
-#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
----------------
Stylie777 wrote:

If you force-push over the current commit it should keep this conversation, not sure GitHub will delete it.

https://github.com/llvm/llvm-project/pull/99911


More information about the libcxx-commits mailing list