dalias added a comment.

musl targets **already** have the libc header path before the compiler header 
path in a BSD-like configuration (the BSDs also have this order on GCC and I 
would assume on clang as well), so if the compiler-provided `stddef.h` is 
getting seen at all, there's either a bug in clang's path logic or (more 
likely) user error, like trying to use musl with a non-musl target tuple, no 
"system headers" path, and simple `-I` to point at the musl headers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159383

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to