[libcxx-commits] [libcxx] [libc++][C++03] Fix libc++ includes (PR #109000)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 30 08:13:39 PDT 2024
================
@@ -13,13 +13,13 @@
#ifndef _LIBCPP___LOCALE_LOCALE_BASE_API_BSD_LOCALE_FALLBACKS_H
#define _LIBCPP___LOCALE_LOCALE_BASE_API_BSD_LOCALE_FALLBACKS_H
-#include <__locale_dir/locale_base_api/locale_guard.h>
-#include <cstdio>
-#include <stdarg.h>
-#include <stdlib.h>
+#include <__cxx03/__locale_dir/locale_base_api/locale_guard.h>
+#include <__cxx03/cstdio>
+#include <__cxx03/stdarg.h>
----------------
ldionne wrote:
For example, we don't provide `stdarg.h` in libc++, so this part of the change is technically incorrect. However, I think it makes sense to proceed with this mechanical rewrite and then gradually narrow down the number of issues when we get an actual CI configuration for this.
https://github.com/llvm/llvm-project/pull/109000
More information about the libcxx-commits
mailing list