Package: madlib
Version: 1.3.0-1
User: debian-...@lists.debian.org
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 madlib_1.3.0-1 on em64t by sbuild/amd64 0.53
...
> NullEntities.h:31: warning:   when initialized here
> In file included from NullModel.cc:18:
> ../Mesh/MshTags.h: In function 'int 
> MAd::getNumVerticesForElementTypeMSH(int)':
> ../Mesh/MshTags.h:95: error: 'printf' was not declared in this scope
> ../Mesh/MshTags.h: In function 'int MAd::getDimForElementTypeMSH(int)':
> ../Mesh/MshTags.h:137: error: 'printf' was not declared in this scope
> NullModel.cc: In member function 'virtual int MAd::NullModel::readGEO(const 
> std::string&)':
> NullModel.cc:115: warning: no return statement in function returning non-void
> NullModel.cc: In member function 'virtual int MAd::NullModel::readMSH(const 
> std::string&)':
> NullModel.cc:228: warning: unused variable 'num'
> NullModel.cc:231: warning: unused variable 'partition'
> NullModel.cc:232: warning: unused variable 'indices'
> NullModel.cc: In member function 'virtual int MAd::NullModel::readSTEP(const 
> std::string&)':
> NullModel.cc:260: warning: no return statement in function returning non-void
> NullModel.cc: In member function 'virtual int MAd::NullModel::readBREP(const 
> std::string&)':
> NullModel.cc:267: warning: no return statement in function returning non-void
> NullModel.cc: In member function 'virtual int MAd::NullModel::readIGES(const 
> std::string&)':
> NullModel.cc:274: warning: no return statement in function returning non-void
> make[3]: *** [NullModel.lo] Error 1
> make[3]: Leaving directory `/build/tbm/madlib-1.3.0/Geo'


--- Mesh/MshTags.h~     2009-11-01 22:57:25.000000000 +0000
+++ Mesh/MshTags.h      2009-11-01 22:57:32.000000000 +0000
@@ -14,6 +14,7 @@
 #ifndef MSHTAGS__H
 #define MSHTAGS__H
 
+#include <cstdio>
 #include <string>
 #include <sstream>
 

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to