hello everyone!
i installed lua5.1 via synaptic, compiled tekui1.10 source, installed it, and they are working together (required tek.ui without error and ran the demo successfully)
when i try to make it alive from the 5.3 , it says it cant find the tek.lib.debug , when i already made it to find the tek.ui . this isnt surprising because the standard making process gave me warnings about the debug, but its the same stuff, which was already work once with the 5.1, with the same warnings
heres a snippet from the make:
gcc -fpic -DTDEBUG=5 -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-long-long -O2 -fno-strict-aliasing -I. -Iinclude -I../../include -o build/posix/debug.lo -c debug.c
In file included from ../../include/tek/config.h:17:0,
from ../../include/tek/type.h:11,
from ../../include/tek/exec.h:11,
from ../../include/tek/teklib.h:11,
from debug.c:14:
debug.c: In function ‘TDebugFatal’:
../../include/tek/config/posix.h:67:41: warning: right-hand operand of comma _expression_ has no effect [-Wunused-value]
#define TDEBUG_PLATFORM_FATAL() (abort(), 0)
^
debug.c:47:2: note: in expansion of macro ‘TDEBUG_PLATFORM_FATAL’
TDEBUG_PLATFORM_FATAL();
^
ar rcu ../../lib/posix/libtekdebug.a build/posix/debug.lo
gcc -fpic -DTDEBUG=5 -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-long-long -O2 -fno-strict-aliasing -I. -Iinclude -I../../include -o build/posix/init.lo -c init.c
In file included from ../../include/tek/lib/init.h:12:0,
from init.c:10:
init.c: In function ‘init_destroyapptask’:
../../include/tek/config/posix.h:67:41: warning: right-hand operand of comma _expression_ has no effect [-Wunused-value]
#define TDEBUG_PLATFORM_FATAL() (abort(), 0)
^
../../include/tek/debug.h:17:49: note: in definition of macro ‘TDB’
#define TDB(level, x) ((level) >= (TDEBUG) ? ((x), (void)0) : (void)0)
^
../../include/tek/debug.h:25:48: note: in expansion of macro ‘TDEBUG_PLATFORM_FATAL’
TDebugPrintF(#expr " : assertion failed\n"), TDEBUG_PLATFORM_FATAL()), \
^
init.c:230:2: note: in expansion of macro ‘TDBASSERT’
TDBASSERT(20, msg == TMSG_DESTROY);
^
i also changed a the paths for isolate my work (ive tried the things i mentioned also without destroying the harmony of the original packages), if u have wise words for the future, about what i have to know before i decide things, like destroying the structures, i would be happy to hear them also