forked from swiftlang/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 5
Clang 10 “#include_next” problem #2
Copy link
Copy link
Open
Description
Hi! I’m really impressed with the command line tools available in Cydia. Thank you for your contributions.
I’ve installed the clang package, and attempting to compile a simple program on my iPad, I get this problem:
$ make
clang++ -MJ discriminator.cpp.compile_command.json -O3 --std=c++11 -o discriminator discriminator.cpp
In file included from discriminator.cpp:1:
In file included from /usr/bin/../include/c++/v1/cstring:60:
/usr/bin/../include/c++/v1/string.h:60:15: fatal error: 'string.h' file not found
#include_next <string.h>
^~~~~~~~~~
1 error generated.
make: *** [makefile:6: discriminator] Error 1
I’m able to find info on the internet about this issue, but they involve macOS where folks are providing include paths and stuff to the clang-10 to give it paths for where to find the “original” header that string.h line 60 is trying to include. But... on my iPad there is only one string.h, the llvm-10 one... Looks like a catch-22.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels