nixio icon indicating copy to clipboard operation
nixio copied to clipboard

build failures with gcc5+?

Open karlp opened this issue 10 years ago • 1 comments

Not sure what this is trying to do even

src/process.c: In function ‘nixio__exec’:
src/process.c:76:26: error: comparison of constant ‘4’ with boolean expression is always true [-Werror=bool-compare]
     if (!lua_type(L, -2) != LUA_TSTRING || !lua_isstring(L, -1)) {
                          ^
src/process.c:76:26: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]

karlp avatar Oct 22 '15 12:10 karlp

seems the first ! shouldn't be there, compared to openwrt luci sources at least.

karlp avatar Oct 22 '15 12:10 karlp

Fix in release 0.4: luarocks install Neopallium/nixio

Neopallium avatar Sep 15 '24 04:09 Neopallium