You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A project I'm trying to compile includes limits.h. It looks like lljvm is intended to support this, but does so incompletely. Consider the following, in the Docker described in the README (which I appreciate, btw - assuming there's not a heap of other gotchas past this one I'm running into, providing a pre-built docker will have been the easiest way of getting this to run, out of the several c->jvm projects I've tried.)
root@ebb1c6a0a0c2:/test# cat test.c
#include <limits.h>
int main(int argv, char ** argc) {
return 0;
}
root@ebb1c6a0a0c2:/test# lljvm-cc -o test test.c
In file included from test.c:1:
In file included from /usr/local/lib/lljvm/include/newlib/limits.h:130:
/usr/local/lib/clang/1.1/include/limits.h:35:15: fatal error: 'limits.h' file not found
#include_next <limits.h>
^
1 diagnostic generated.
The text was updated successfully, but these errors were encountered:
I commented out #include <limits.h> in the project I'm compiling, and it seems like that problem's gone away for now, so...maybe I'm ok on this front. It may still be relevant for anybody that actually DOES depend on this header.
A project I'm trying to compile includes
limits.h
. It looks like lljvm is intended to support this, but does so incompletely. Consider the following, in the Docker described in the README (which I appreciate, btw - assuming there's not a heap of other gotchas past this one I'm running into, providing a pre-built docker will have been the easiest way of getting this to run, out of the several c->jvm projects I've tried.)The text was updated successfully, but these errors were encountered: