[LMH]build problems after cvs update

Andreas Eder Andreas.Eder@t-online.de
Sat Apr 27 06:58:01 2002


John Morrison writes:
 > Hi;
 >=20
 > Which platform and which compiler?=20

It is on a SuSE Linux 7.3 (uname -a gives 'Linux elgin 2.4.16-4GB-SMP
#3 SMP Fri Feb 1 20:00:09 CET 2002 i686 unknown')
The compiler is gcc.=20
(gcc -v gives 'Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95=
.3/specs
gcc version 2.95.3 20010315 (SuSE)')=20

 > And, does it just warn/complain (as
 > mine does because I don't quite have the varargs stuff right for the=
 x86
 > target), or does it fail to compile?

It gives warnings, but ultimately fails to compile.=20
Here is the output make gives:

g++ -O0 -ggdb3 -pg -Wall -DPARANOID -c band.cc
band.cc: In method `void e3BandStream::read(void *, unsigned int)':
band.cc:52: warning: unsigned int format, pointer arg (arg 2)
band.cc: In method `void e3BandStream::readWord(e3Word &)':
band.cc:69: warning: unsigned int format, pointer arg (arg 2)
band.cc: In method `e3WordAddr e3Band::loadCluster(e3MemMap *, unsigned=
 int, unsigned int)':
band.cc:194: warning: unsigned int format, pointer arg (arg 2)
band.cc: In method `e3WordAddr e3Band::loadClusters(e3MemMap *, unsigne=
d int)':
band.cc:217: warning: unsigned int format, pointer arg (arg 2)
band.cc: In method `e3WordAddr e3Band::load(e3MemMap *)':
band.cc:254: warning: unsigned int format, pointer arg (arg 2)
band.h:21: `class ifstream * e3BandStream::load_band' is protected
band.cc:254: within this context
band.cc:260: warning: unsigned int format, pointer arg (arg 2)
band.h:21: `class ifstream * e3BandStream::load_band' is protected
band.cc:260: within this context
band.cc:263: warning: unsigned int format, pointer arg (arg 2)
band.cc:268: warning: unsigned int format, pointer arg (arg 2)
band.cc:270: warning: unsigned int format, pointer arg (arg 2)
band.cc: In method `class e3Word e3Band::readWord(unsigned int)':
band.h:21: `class ifstream * e3BandStream::load_band' is protected
band.cc:280: within this context
band.h:21: `class ifstream * e3BandStream::load_band' is protected
band.cc:288: within this context
band.h:21: `class ifstream * e3BandStream::load_band' is protected
band.cc:290: within this context
make: *** [band.o] Error 1

With my changes it compiles without warning or error, and the
resulting e3 binary runs.

I hope this helps,

'Andreas
--=20
Wherever I lay my .emacs, there=B4s my $HOME.