I'm trying to compile TFS 0.4 r3884 on Debian 10 and I encountered this warning treated as an error
I don't know how to fix it
C++:
luascript.h: In member function ‘virtual bool Action::executeUse(Player*, Item*, const PositionEx&, const PositionEx&, bool, uint32_t)’:
luascript.h:279:106: error: ‘<anonymous>.PositionEx::stackpos’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
L, const PositionEx& position) {pushPosition(L, position, position.stackpos);}
~~~~~~~~~^~~~~~~~
Last edited: