lua-users home
lua-l archive

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


>>>>> "AK" == Asko Kauppi <askok@dnainternet.net> writes:

 AK> Available at:  http://luaforge.net/frs/?group_id=214

thanx! please, take a look, 3 warnings are there:

-----[ lcode.odll : lua-5.1.3_lnum-2008/src/lcode.c ]-----
/usr/bin/gcc -fPIC -DPIC -pipe -c -march=pentiumpro -Wall -W -Wredundant-decls -pthread -pedantic -Wno-long-long -D_REENTRANT -D_THREAD_SAFE -o /home/john/work/ControlCenter/build/objs/lua-HEAD--generic-gcc-debug-opt/lua-5.1.3_lnum-2008/src/lcode.odll lua-5.1.3_lnum-2008/src/lcode.c -g -O -I/home/john/work/ControlCenter/lua/ -I/usr/local/include -DLUA_USE_LINUX -DLUA_ANSI -DLUA_USE_APICHECK -DSTATIC
lua-5.1.3_lnum-2008/src/lcode.c:748:29: warning: C++ style comments are not allowed in ISO C90
lua-5.1.3_lnum-2008/src/lcode.c:748:29: warning: (this will be reported only once per input file)


-----[ lnum.odll : lua-5.1.3_lnum-2008/src/lnum.c ]-----
/usr/bin/gcc -fPIC -DPIC -pipe -c -march=pentiumpro -Wall -W -Wredundant-decls -pthread -pedantic -Wno-long-long -D_REENTRANT -D_THREAD_SAFE -o /home/john/work/ControlCenter/build/objs/lua-HEAD--generic-gcc-debug-opt/lua-5.1.3_lnum-2008/src/lnum.odll lua-5.1.3_lnum-2008/src/lnum.c -g -O -I/home/john/work/ControlCenter/lua/ -I/usr/local/include -DLUA_USE_LINUX -DLUA_ANSI -DLUA_USE_APICHECK -DSTATIC
lua-5.1.3_lnum-2008/src/lnum.c: In function 'try_powint':
lua-5.1.3_lnum-2008/src/lnum.c:224: warning: comparison between signed and unsigned

could you fix them?

[~]> gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-1)

-- 
Yours sincerely, Eugeny.
Doctor Web, Ltd. http://www.drweb.com
+79119997425