Package: openscenegraph
Version: 2.4.0-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 openscenegraph_2.4.0-1.1 on em64t by sbuild/amd64 0.53
...
> [ 16%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/FieldReader.o
> cd /build/tbm/openscenegraph-2.4.0/build/osg/src/osgDB &&
> /usr/lib/gcc-snapshot/bin/g++ -DOSGDB_LIBRARY -DUSE_XINE -DUSE_INVENTOR
> -DosgDB_EXPORTS -g -O2 -g -O2 -O3 -g -fPIC
> -I/build/tbm/openscenegraph-2.4.0/OpenSceneGraph/include -o
> CMakeFiles/osgDB.dir/FieldReader.o -c
> /build/tbm/openscenegraph-2.4.0/OpenSceneGraph/src/osgDB/FieldReader.cpp
> /build/tbm/openscenegraph-2.4.0/OpenSceneGraph/src/osgDB/FieldReader.cpp: In
> member function 'bool osgDB::FieldReader::findStartOfNextField()':
> /build/tbm/openscenegraph-2.4.0/OpenSceneGraph/src/osgDB/FieldReader.cpp:125:
> error: 'EOF' was not declared in this scope
> /build/tbm/openscenegraph-2.4.0/OpenSceneGraph/src/osgDB/FieldReader.cpp: In
> member function 'bool osgDB::FieldReader::_readField(osgDB::Field*)':
> /build/tbm/openscenegraph-2.4.0/OpenSceneGraph/src/osgDB/FieldReader.cpp:162:
> error: 'EOF' was not declared in this scope
> make[3]: *** [src/osgDB/CMakeFiles/osgDB.dir/FieldReader.o] Error 1
> make[3]: Leaving directory `/build/tbm/openscenegraph-2.4.0/build/osg'
---
OpenSceneGraph/examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp~
2008-11-07 19:15:35.000000000 +0000
+++
OpenSceneGraph/examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp
2008-11-07 19:15:42.000000000 +0000
@@ -32,6 +32,7 @@
#include <osgViewer/Viewer>
+#include <cstdio>
#include <iostream>
//
--- OpenSceneGraph/src/osgDB/FieldReader.cpp~ 2008-11-07 17:57:51.000000000
+0000
+++ OpenSceneGraph/src/osgDB/FieldReader.cpp 2008-11-07 17:57:58.000000000
+0000
@@ -13,6 +13,8 @@
#include <osgDB/Field>
#include <osgDB/FieldReader>
+#include <cstdio>
+
using namespace osgDB;
FieldReader::FieldReader()
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]