AndreiRudenko / linc_luajit

Haxe/hxcpp @:native bindings for LuaJIT.
Other
49 stars 65 forks source link

can you please fix this #15

Closed ghost closed 2 years ago

ghost commented 2 years ago

/usr/local/lib/haxe/lib/linc_luajit/0,0,4/linc/linc_lua.cpp:65:25: warning: comparison of array 'dbg.short_src' not equal to a null pointer is always true [-Wtautological-pointer-compare] if (dbg.short_src != NULL) {


/usr/local/lib/haxe/lib/linc_luajit/0,0,4/linc/linc_lua.cpp:69:37: warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
                if (dbg.linedefined != NULL) {
                    ~~~~~~~~~~~~~~~ ^  ~~~~
/usr/local/lib/haxe/lib/linc_luajit/0,0,4/linc/linc_lua.cpp:73:41: warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
                if (dbg.lastlinedefined != NULL) {
                    ~~~~~~~~~~~~~~~~~~~ ^  ~~~~
/usr/local/lib/haxe/lib/linc_luajit/0,0,4/linc/linc_lua.cpp:94:37: warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
                if (dbg.currentline != NULL) {
                    ~~~~~~~~~~~~~~~ ^  ~~~~
/usr/local/lib/haxe/lib/linc_luajit/0,0,4/linc/linc_lua.cpp:100:30: warning: comparison between NULL and non-pointer ('int' and NULL) [-Wnull-arithmetic]
                if (dbg.nups != NULL) {
ghost commented 2 years ago

the 100 thing is 100:30

gaminbottomtext commented 2 years ago

just ignore it, i got the same thing too but it still worked