Package: gtkmathview Version: 0.7.7-1 Usertags: ftbfs-gcc-4.3 Tags: patch 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, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable. > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../auto -I../../../auto > -I../../../src/common -I../../../src/common/mathvariants/ > -I../../../src/engine/common -I../../../src/frontend/common > -I../../../src/backend/common -DGMV_MathView_DLL -g -Wall -O2 -W -Wall -c > MathMLTableFormatter.cc -fPIC -DPIC -o > .libs/libmathml_la-MathMLTableFormatter.o > MathMLTableFormatter.cc: In member function 'void > MathMLTableFormatter::init(const FormattingContext&, unsigned int, unsigned > int, const std::vector<SmartPtr<MathMLTableCellElement>, > std::allocator<SmartPtr<MathMLTableCellElement> > >&, const > std::vector<SmartPtr<MathMLTableCellElement>, > std::allocator<SmartPtr<MathMLTableCellElement> > >&, const SmartPtr<Value>&, > const SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&, const > SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&, const > SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&)': > MathMLTableFormatter.cc:91: error: 'find_if' is not a member of 'std' > MathMLTableFormatter.cc:104: warning: comparison of unsigned expression >= 0 > is always true --- src/engine/mathml/traverseAux.cc~ 2007-04-01 20:51:16.000000000 +0000 +++ src/engine/mathml/traverseAux.cc 2007-04-01 20:51:22.000000000 +0000 @@ -22,6 +22,7 @@ #include <config.h> #include <assert.h> +#include <algorithm> #include "traverseAux.hh" #include "MathMLElement.hh" --- src/engine/mathml/MathMLTableFormatter.cc~ 2007-04-01 20:49:57.000000000 +0000 +++ src/engine/mathml/MathMLTableFormatter.cc 2007-04-01 20:50:03.000000000 +0000 @@ -22,6 +22,7 @@ #include <config.h> +#include <algorithm> #include <cassert> #include "Adapters.hh" --- viewer/aux.cc~ 2007-04-01 21:05:38.000000000 +0000 +++ viewer/aux.cc 2007-04-01 21:05:50.000000000 +0000 @@ -21,6 +21,7 @@ // <[EMAIL PROTECTED]> #include <config.h> +#include <cstdlib> #include <assert.h> #include <sstream> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]