Package: mm3d
Version: 1.3.7-1.1
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.
GCC 4.4 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-snapshot from unstable.
> Automatic build of mm3d_1.3.7-1.1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -coverage -Wall
> -I../libmm3d -I../ -DMM3D_EDIT -O2 -fomit-frame-pointer -fno-math-errno
> -MT decalmgr.o -MD -MP -MF .deps/decalmgr.Tpo -c -o decalmgr.o decalmgr.cc
> In file included from decalmgr.h:27,
> from decalmgr.cc:24:
> tool.h:234: error: ISO C++ forbids declaration of 'list' with no type
> tool.h:234: error: conflicting declaration 'const int list'
> tool.h:233: error: 'list' has a previous declaration as
> 'std::vector<Tool::_ToolCoord_t, std::allocator<Tool::_ToolCoord_t> >& list'
> tool.h:234: error: expected ',' or '...' before '<' token
> make[4]: *** [decalmgr.o] Error 1
> make[4]: Leaving directory `/build/tbm/mm3d-1.3.7/src/mm3dcore'
--- src/mm3dcore/tool.h~ 2008-11-13 21:42:19.000000000 +0000
+++ src/mm3dcore/tool.h 2008-11-13 21:47:47.000000000 +0000
@@ -231,7 +231,7 @@
double x, double y, double z );
void makeToolCoordList( Parent * parent, ToolCoordList & list,
- const list< Model::Position > & positions );
+ const std::list< Model::Position > & positions );
};
class ToolSeparator : public Tool
--- src/mm3dcore/texturetest.cc~ 2008-11-13 21:45:11.000000000 +0000
+++ src/mm3dcore/texturetest.cc 2008-11-13 21:45:16.000000000 +0000
@@ -24,6 +24,8 @@
#include "texmgr.h"
+#include <cstdio>
+
void texture_test_compare( const char * f1, const char * f2, unsigned
fuzzyValue )
{
TextureManager * texmgr = TextureManager::getInstance();
--- src/implui/keycfg.cc~ 2008-11-13 21:51:31.000000000 +0000
+++ src/implui/keycfg.cc 2008-11-13 21:51:48.000000000 +0000
@@ -27,6 +27,8 @@
#include <QtGui/QApplication>
+#include <cstdio>
+
static void _chomp( char * str )
{
int len = 0;
--- src/implui/qttex.cc~ 2008-11-13 21:53:07.000000000 +0000
+++ src/implui/qttex.cc 2008-11-13 21:53:14.000000000 +0000
@@ -27,6 +27,7 @@
#include "mm3dconfig.h"
#include "log.h"
+#include <cstdio>
#include <ctype.h>
#include <QtCore/QBuffer>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]