Package: vite
Version: 1.0+svn834-4
User: [email protected]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with GCC 4.4, which has cleaned up some more
C++ headers. You always have to #include headers directly and cannot
rely for things to be included indirectly.
You can reproduce this problem with gcc-4.4/g++-4.4 from unstable.
> Automatic build of vite_1.0+svn834-4 on em64t by sbuild/amd64 0.53
...
> g++ -c -pipe -O2 -g -D_REENTRANT -Wall -W -DQT_XML_LIB -DQT_OPENGL_LIB
> -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml
> -I/usr/include/qt4 -I. -Iinterface -Imessage -Itrace -Itrace/values -Iparser
> -I/usr/X11R6/include -I. -I. -o ../bin/Tools.o general/Tools.cpp
> general/Tools.cpp: In function 'double convert_to_double(std::string)':
> general/Tools.cpp:51: error: 'sscanf' was not declared in this scope
> make[2]: *** [../bin/Tools.o] Error 1
> make[2]: Leaving directory `/build/tbm/vite-1.0+svn834/src'
> make[1]: *** [all] Error 2
--- src/general/Tools.cpp~ 2009-09-18 17:00:42.000000000 +0000
+++ src/general/Tools.cpp 2009-09-18 17:00:51.000000000 +0000
@@ -42,6 +42,8 @@
*/
#include "Tools.hpp"
+#include <cstdio>
+
using namespace std;
double convert_to_double(const string arg){
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]