[libcxx-commits] [libcxx] [libcxx] Remove the second inclusion of the system header (PR #120946)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 8 09:04:38 PST 2025
================
@@ -106,10 +106,6 @@ void perror(const char* s);
# ifndef _LIBCPP_STDIO_H
# define _LIBCPP_STDIO_H
-# if __has_include_next(<stdio.h>)
-# include_next <stdio.h>
----------------
philnik777 wrote:
Hm, that's indeed a problem. It doesn't seem to affect the CI though, which makes me wonder whether there's actually a `__need_` macro in `wchar.h` or `stdlib.h` (I couldn't find any in my glibc). Maybe this problem solved itself somehow? `stddef.h` shouldn't be affected, since we don't actually use any of the libc-provided symbols in `stddef.h` directly.
https://github.com/llvm/llvm-project/pull/120946
More information about the libcxx-commits
mailing list