From: Cojocaru,Vlad (vlad.cojocaru_at_eml-r.villa-bosch.de)
Date: Sat Apr 19 2008 - 09:09:32 CDT

Dear VMD users,

I am building MD from source (CVS) on a LINUXAMD64 (SuSE linux, gcc 4.2). During the plugin build I get a lot of warning messages. Some examples are below.
The build seems ok inspite of these warnings. My question is: Shall I worry about these warnings .. or I can go on with the build ?

Thanks
Best
vlad

src/alphabetBuilder.cpp:14: warning: deprecated conversion from string constant to ‘char*’

src/ccprobcalc.c:52: warning: unused variable ‘uval’
src/ccprobcalc.c:51: warning: unused variable ‘ll’
src/ccprobcalc.c:51: warning: unused variable ‘end’
src/ccprobcalc.c:51: warning: unused variable ‘start’
src/ccprobcalc.c:50: warning: unused variable ‘k’

src/gjnoc.c:140: warning: ‘option’ may be used uninitialized in this function
src/gjnoc.c:111: warning: ‘j3loc’ may be used uninitialized in this function
src/gjnoc.c:111: warning: ‘i3loc’ may be used uninitialized in this function
src/gjnoc.c:110: warning: ‘j2loc’ may be used uninitialized in this function
src/gjnoc.c:110: warning: ‘i2loc’ may be used uninitialized in this function
src/gjnoc.c:109: warning: ‘j1loc’ may be used uninitialized in this function
src/gjnoc.c:109: warning: ‘i1loc’ may be used uninitialized in this function

src/endianswap.h:32: warning: ‘void swap2_unaligned(void*, long int)’ defined but not used
src/endianswap.h:46: warning: ‘void swap4_unaligned(void*, long int)’ defined but not used
src/endianswap.h:65: warning: ‘void swap8_unaligned(void*, long int)’ defined but not used
src/endianswap.h:96: warning: ‘void swap2_aligned(void*, long int)’ defined but not used

src/vtfplugin.c:215: warning: format ‘%16s’ expects type ‘char *’, but argument 3 has type ‘char (*)[16]’
src/vtfplugin.c:224: warning: format ‘%16s’ expects type ‘char *’, but argument 3 has type ‘char (*)[16]’
src/vtfplugin.c:250: warning: format ‘%8s’ expects type ‘char *’, but argument 3 has type ‘char (*)[8]’
src/vtfplugin.c:265: warning: format ‘%8s’ expects type ‘char *’, but argument 3 has type ‘char (*)[8]’
src/vtfplugin.c:274: warning: format ‘%2s’ expects type ‘char *’, but argument 3 has type ‘char (*)[2]’
src/vtfplugin.c:286: warning: format ‘%2s’ expects type ‘char *’, but argument 3 has type ‘char (*)[2]’
src/vtfplugin.c:320: warning: format ‘%2s’ expects type ‘char *’, but argument 3 has type ‘char (*)[2]’

src/msmsplugin.C:201: warning: dereferencing type-punned pointer will break strict-aliasing rules