[GRASS5] C++ stuff (r.terraflow) doesn't compile on gcc-3.3

Buchan Milne bgmilne at cae.co.za
Fri Oct 17 08:01:46 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am rebuilding my grass57 package on Mandrake cooker now, and I noticed
that the C++ stuff does not compile on gcc-3.3.1 (the same package
builds fine on Mandrake 9.1 with gcc-3.2, and the package from 2 weeks
ago built fine on cooker/gcc-3.3), due to using obsolete headers
(gcc-3.2 gave warnings I think):

make[2]: Entering directory
`/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster/r.terraflow'
Makefile:79: warning: overriding commands for target `htmlcmd'
../../include/Make/Rules.make:37: warning: ignoring old commands for
target `htmlcmd'
Makefile:88: warning: overriding commands for target `clean'
../../include/Make/Rules.make:30: warning: ignoring old commands for
target `clean'
mkdir -p OBJ.i586-mandrake-linux-gnu/FLOAT ; true
mkdir -p OBJ.i586-mandrake-linux-gnu/SHORT ; true
c++ -c -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
- -I./IOStream/include -DUSER=\"bgmilne\" -DNODATA_FIX
- -D_FILE_OFFSET_BITS=64 -DELEV_FLOAT main.cc -o
OBJ.i586-mandrake-linux-gnu/FLOAT/main.o
In file included from /usr/include/c++/3.3.1/backward/iostream.h:31,
                 from IOStream/include/ami_stream.h:54,
                 from IOStream/include/ami.h:49,
                 from common.h:47,
                 from main.cc:56:
/usr/include/c++/3.3.1/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
- -Wno-deprecated.
In file included from IOStream/include/empq.h:56,
                 from IOStream/include/empq_impl.h:45,
                 from IOStream/include/ami.h:61,
                 from common.h:47,
                 from main.cc:56:
IOStream/include/minmaxheap.h:48:23: strstream.h: No such file or directory
make[2]: *** [OBJ.i586-mandrake-linux-gnu/FLOAT/main.o] Error 1
make[2]: Leaving directory
`/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster/r.terraflow'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster'
make: *** [default] Error 1

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/j9oprJK6UGDSBKcRAlv9AJ913G0Zj9IEMMIWs7cBhUE9LNnqxQCdExe5
f3v8UoPW9SA5KYilz5TGIOQ=
=Zsns
-----END PGP SIGNATURE-----




More information about the grass-dev mailing list