serenity/Kernel/Library
implicitfield 5dfe2eb389 Everywhere: Resolve conflicts with LibC and libc++
Since https://reviews.llvm.org/D131441, libc++ must be included before
LibC. As clang includes libc++ as one of the system includes, LibC
must be included after those, and the only correct way to do that is
to install LibC's headers into the sysroot.

Targets that don't link with LibC yet require its headers for one
reason or another must add install_libc_headers as a dependency to
ensure that the correct headers have been (re)installed into the
sysroot.

LibC/stddef.h has been dropped since the built-in stddef.h receives
a higher include priority.

In addition, string.h and wchar.h must
define __CORRECT_ISO_CPP_STRING_H_PROTO and
_LIBCPP_WCHAR_H_HAS_CONST_OVERLOADS respectively in order to tell
libc++ to not try to define methods implemented by LibC.
2023-06-27 12:40:38 +02:00
..
Assertions.h
DoubleBuffer.cpp Kernel: Move InterruptDisabler to the Interrupts subdirectory 2023-06-04 21:32:34 +02:00
DoubleBuffer.h
IOWindow.cpp
IOWindow.h
KBuffer.h
KBufferBuilder.cpp
KBufferBuilder.h Kernel: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes in default impls 2023-06-18 08:47:51 +01:00
KLexicalPath.cpp
KLexicalPath.h
KString.cpp
KString.h
ListedRefCounted.h
LockRefPtr.h
LockWeakable.h
LockWeakPtr.h
MiniStdLib.cpp
NonnullLockRefPtr.h
Panic.cpp
Panic.h
ScopedCritical.cpp
ScopedCritical.h
StdLib.cpp
StdLib.h Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
UserOrKernelBuffer.cpp
UserOrKernelBuffer.h