[Pkg-octave-devel] Bug#461719: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers

Martin Michlmayr tbm at cyrius.com
Sun Jan 20 10:02:42 UTC 2008

Package: semidef-oct
Version: 1:2003-5
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, pre-iso c++ headers
will no longer be present, but your application makes use of them.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from

> Automatic build of semidef-oct_1:2003-5 on em64t by sbuild/amd64 0.53
> make[1]: Entering directory `/build/tbm/semidef-oct-2003/SRC'
> making get_matrix.o from get_matrix.cc
> CXXFLAGS=-Wno-deprecated mkoctfile get_matrix.cc
> In file included from get_matrix.cc:5:
> ocst.h:8:22: error: iostream.h: No such file or directory
> In file included from get_matrix.cc:5:
> ocst.h:69: error: expected constructor, destructor, or type conversion before '&' token
> get_matrix.cc: In function 'Matrix get_matrix(const octave_value&, const std::string&, int, int&)':
> get_matrix.cc:22: error: 'ends' was not declared in this scope
> make[1]: *** [get_matrix.o] Error 1
> make[1]: Leaving directory `/build/tbm/semidef-oct-2003/SRC'
> make: *** [build-stamp] Error 2

Martin Michlmayr

More information about the Pkg-octave-devel mailing list