[libc-commits] [PATCH] D82404: [libc] Minimal Darwin support

Thorsten via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jul 9 06:21:16 PDT 2020


tschuett added a comment.

  /Users/XXX/Work/XXX/llvm-project/libc/src/string/memcpy.h:13:1: error: system include stddef.h not allowed, transitively included from /Users/XXX/Work/XXX/llvm-project/libc/src/string/memcpy.h (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stddef.h) [llvmlibc-restrict-system-libc-headers,-warnings-as-errors]
  #include <stddef.h> // size_t

Despite -freestanding, it gets the header from the C++ STL?!?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82404/new/

https://reviews.llvm.org/D82404





More information about the libc-commits mailing list