-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fatal error: 'limits.h' file not found #117
Comments
Is it the embedded |
Seems so, but I am not sure how to debug the lookup. I have noticed |
Hmm, it definitely should be in that list. |
Which version of libclang are you using? How does your |
Checked on both Arch Linux and Ubuntu, clang versions 3.6 and 3.8 Relevant lines:
The way I understand it, problem comes from the fact it still looks in |
I think the issue is the
It finds |
BTW, my small test doesn't work using regular Clang either, for some reason. |
I tried in Ubuntu, the issue is that the virtual include path is missing. This function [1] is never used. Adding that to the list of include paths seems to fix the problem. [1] https://github.com/jacob-carlborg/dstep/blob/master/clang/Compiler.d#L41 |
It's a regression introduced by: 3ed7e54. |
Aha, I see now. Thanks for the information, I'll submit a fix tomorrow! |
With latest dstep master trying to convert https://github.com/protobuf-c/protobuf-c/blob/master/protobuf-c/protobuf-c.h results in this:
The text was updated successfully, but these errors were encountered: