Hi all,

I've noticed unused variables in the code, implicit declaration of
function or possibly dangerous type casting... when compiling
DEV300_m29.

It doesn't hurt but IMO, expunge what we don't need in the code is not
a bad idea.

# And a lot more in:
http://aoclife.ddo.jp/~vuhung/foss/src/DEV300_m29/dmake_20080904_1155.log

Making: ../unxlngi6.pro/obj/include.obj
ccache gcc -fmessage-length=0 -c -Os -fno-strict-aliasing   -I.
-I../unxlngi6.pro/inc/make_makedepend -I../inc -I../inc/pch -I../inc
-I../unx/inc -I../unxlngi6.pro/inc -I.
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/incdont_use_stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/external
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/unxlngi6/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/res
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/incdont_use_stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc/Xp31
-I/home/vuhung/opt/j2sdk1.4.2_18/include
-I/home/vuhung/opt/j2sdk1.4.2_18/include/linux
-I/home/vuhung/opt/j2sdk1.4.2_18/include/native_threads/include
-I/usr/include
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/offuh
-I. -I../res -I. -pipe -mtune=pentiumpro -Wall -Wextra -Wendif-labels
-DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2
-DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
-DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DCUI -DSOLAR_JAVA   -DNO_X11 -DXP_PC -DHW_THREADS    -o
../unxlngi6.pro/obj/include.o include.c
include.c: In function 'inc_path':
include.c:81: warning: implicit declaration of function 'warning1'
include.c: In function 'issymbolic':
include.c:243: warning: implicit declaration of function 'fatalerr'
include.c: In function 'included_by':
include.c:304: warning: implicit declaration of function 'warning'
if ( -e ../unxlngi6.pro/obj/include.o ) touch ../unxlngi6.pro/obj/include.obj
------------------------------

Making: ../unxlngi6.pro/obj/main.obj
ccache gcc -fmessage-length=0 -c -Os -fno-strict-aliasing   -I.
-I../unxlngi6.pro/inc/make_makedepend -I../inc -I../inc/pch -I../inc
-I../unx/inc -I../unxlngi6.pro/inc -I.
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/incdont_use_stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/external
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/unxlngi6/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc
-I/home/vuhung/public_html/foss/src/DEV300_m29/res
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/incdont_use_stl
-I/home/vuhung/public_html/foss/src/DEV300_m29/solenv/inc/Xp31
-I/home/vuhung/opt/j2sdk1.4.2_18/include
-I/home/vuhung/opt/j2sdk1.4.2_18/include/linux
-I/home/vuhung/opt/j2sdk1.4.2_18/include/native_threads/include
-I/usr/include
-I/home/vuhung/public_html/foss/src/DEV300_m29/solver/300/unxlngi6.pro/inc/offuh
-I. -I../res -I. -pipe -mtune=pentiumpro -Wall -Wextra -Wendif-labels
-DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DNPTL -DGLIBC=2
-DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
-DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX
-DCPPU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2
-DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DOPTIMIZE -DCUI -DSOLAR_JAVA   -DNO_X11 -DXP_PC -DHW_THREADS    -o
../unxlngi6.pro/obj/main.o main.c
main.c: In function 'warning':
main.c:754: warning: type of 'x1' defaults to 'int'
main.c:754: warning: type of 'x2' defaults to 'int'
main.c:754: warning: type of 'x3' defaults to 'int'
main.c:754: warning: type of 'x4' defaults to 'int'
main.c:754: warning: type of 'x5' defaults to 'int'
main.c:754: warning: type of 'x6' defaults to 'int'
main.c:754: warning: type of 'x7' defaults to 'int'
main.c:754: warning: type of 'x8' defaults to 'int'
main.c:754: warning: type of 'x9' defaults to 'int'
main.c:752: warning: unused parameter 'msg'
main.c:754: warning: unused parameter 'x1'
main.c:754: warning: unused parameter 'x2'
main.c:754: warning: unused parameter 'x3'
main.c:754: warning: unused parameter 'x4'
main.c:754: warning: unused parameter 'x5'
main.c:754: warning: unused parameter 'x6'
main.c:754: warning: unused parameter 'x7'
main.c:754: warning: unused parameter 'x8'
main.c:754: warning: unused parameter 'x9'

/bin/sh ./libtool --tag=CC   --mode=compile ccache gcc -DHAVE_CONFIG_H
-I. -I./include -I./include  -D_REENTRANT      -g -O2 -pedantic -W
-Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment
-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses
-Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Winline -Wredundant-decls -MT threads.lo -MD -MP -MF
.deps/threads.Tpo -c -o threads.lo threads.c
 ccache gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT
-g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type
-Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts
-Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT
threads.lo -MD -MP -MF .deps/threads.Tpo -c threads.c  -fPIC -DPIC -o
.libs/threads.o
threads.c:57: warning: redundant redeclaration of 'pthread_once'
/usr/include/pthread.h:463: warning: previous declaration of
'pthread_once' was here
threads.c:59: warning: redundant redeclaration of 'pthread_getspecific'
/usr/include/pthread.h:1073: warning: previous declaration of
'pthread_getspecific' was here

--
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/



-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
[EMAIL PROTECTED] , YIM: vuhung16 , Skype: vuhung16dg
Japan through an eye of a gaijin:
http://www.flickr.com/photos/vuhung/tags/fav/

Reply via email to