warning on mac build `inline function 'fpconv_init' is not defined`
hughperkins opened this issue · comments
https://travis-ci.org/hughperkins/clnn/builds/107115627#L497-L503
In file included from lua_cjson.c:47:
./fpconv.h:15:20: warning: inline function 'fpconv_init' is not defined [-Wundefined-inline]
extern inline void fpconv_init();
^
lua_cjson.c:1367:5: note: used here
fpconv_init();
^
1 warning generated.
Thanks for the bug report. I've fixed the warning under clang now.
thanks :-)
I just got this error while running luarocks install lua-cjson
in Ubuntu.
In file included from lua_cjson.c:47:0:
fpconv.h:15:20: warning: inline function ‘fpconv_init’ declared but never defined
extern inline void fpconv_init();
This is on a fresh torch install. I'm following the install instructions here and made it fine up to the step where I had to install lua-cjson
. I have anaconda in my $PATH, if that's relevant.
I'm also seeing this error.
I have the following compiler installed...
Apple LLVM version 8.0.0 (clang-800.0.38)
When I sudo luarocks install lua-cjson
I get the error still showing.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/include -c lua_cjson.c -o lua_cjson.o
In file included from lua_cjson.c:47:
./fpconv.h:15:20: warning: inline function 'fpconv_init' is not defined [-Wundefined-inline]
extern inline void fpconv_init();
^
lua_cjson.c:1359:5: note: used here
fpconv_init();
^
running into this as well...