[sword-devel] Problem compiling CVS of Sword

Steven P. Ulrick sword-devel@crosswire.org
Tue, 8 Oct 2002 09:51:41 -0500

Hello, Everybody :)
I updated my CVS of Sword this morning, and when I attempted to make it,
it stopped with an error message.  So I updated again, ran ./usrinst.sh
and make, with the same result.  So I grabbed a fresh copy of the CVS of
Sword from the following address:

Here is the output that resulted from running make on the fresh CVS of
Sword (I grabbed it just a few minutes before I wrote this message):

make  all-recursive
make[1]: Entering directory `/home/steve/CVS/sword'
Making all in lib
make[2]: Entering directory `/home/steve/CVS/sword/lib'
source='../src/keys/treekeyidx.cpp' object='treekeyidx.lo' libtool=yes \
depfile='.deps/treekeyidx.Plo' tmpdepfile='.deps/treekeyidx.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DUSE_AUTOTOOLS   -DUNIX  -I. -I.
-I.. -I../include  -DUSBINARY  -g -O0 -Werror -c -o treekeyidx.lo `test
-f '../src/keys/treekeyidx.cpp' || echo './'`../src/keys/treekeyidx.cpp
g++ -DUSE_AUTOTOOLS -DUNIX -I. -I. -I.. -I../include -DUSBINARY -g -O0
-Werror -c ../src/keys/treekeyidx.cpp -MT treekeyidx.lo -MD -MP -MF
cc1plus: warnings being treated as errors
../src/keys/treekeyidx.cpp: In member function `char 
   sword::TreeKeyIdx::getTreeNodeFromIdxOffset(long int, 
   sword::TreeKeyIdx::TreeNode*) const':
../src/keys/treekeyidx.cpp:353: warning: comparison is always false due
   limited range of data type
make[2]: *** [treekeyidx.lo] Error 1
make[2]: Leaving directory `/home/steve/CVS/sword/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/CVS/sword'
make: *** [all] Error 2

Thanks for your help on this issue :)
Steven P. Ulrick