lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hi List,

Just a quick note from a long time lurker. I am using Debian (Lenny 5.0.3), 
gcc (Debian 4.3.2-1.1), compiling the Work 2 hit the snag that I needed the 
development version of readline to get the headers ;-)

Everything compiled perfectly except for one warning in the PrintCode function 
of print.c

gcc -O2 -Wall -DLUA_USE_LINUX   -c -o lua.o lua.c
gcc -o lua  lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lncurses
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o luac.o luac.c
gcc -O2 -Wall -DLUA_USE_LINUX   -c -o print.o print.c
print.c: In function ‘PrintCode’:
print.c:94: warning: enumeration value ‘iAx’ not handled in switch
gcc -o luac  luac.o print.o liblua.a -lm -Wl,-E -ldl -lreadline -lncurses
make[2]: Leaving directory `/home/adrian/lua-5.2.0-work2/src'
make[1]: Leaving directory `/home/adrian/lua-5.2.0-work2/src'

Thanks to the Lua team for their brilliant work - my background was 
contracting with Tcl/Tk in the 90s - wish I'd known about Lua then, now 
there's enough to keep me occupied in my retirement.

Cheers, Adrian.