[cfe-dev] [clang + libcxxabi] Unknown type names 'size_t' and 'uint64_t'

Cág via cfe-dev cfe-dev at lists.llvm.org
Fri Mar 8 09:51:47 PST 2019


> The issue was briefly mentioned here[0], but
> received no attention, probably because it wasn't
> the main one.
[...]
>  From what I understand, cxxabi.h can't source stddef.h
> and stdint.h of the libc (musl that is in my case), can it?

I opened a report here
https://bugs.llvm.org/show_bug.cgi?id=40987
where you can read the include paths of Clang:
#include "..." search starts here:
#include <...> search starts here:
  /mnt/build/src/llvm/llvm/build/projects/libcxxabi/src
  /mnt/build/src/llvm/llvm/projects/libcxxabi/src
  /usr/pkg/include/libxml2
  /mnt/build/src/llvm/llvm/build/include
  /mnt/build/src/llvm/llvm/include
  /mnt/build/src/llvm/llvm/projects/libcxxabi/include
  /mnt/build/src/llvm/llvm/runtimes/libunwind/include
  /mnt/build/src/llvm/llvm/projects/libcxx/include
  /mnt/build/tools/amd64/include/c++/v1
  /mnt/build/tools/amd64/lib/clang/7.0.1/include
  /mnt/build/tools/amd64/include
  /mnt/build/tools/amd64/usr/include

and the fact that there are five stddef.h and five
stdint.h in the include paths.

--
caóc




More information about the cfe-dev mailing list