Hi,

osg-2.3.5 does not compile with gcc-4.3 due to stricter include handling.

Patch is attached.

Best regards

Jürgen

--
Hiermit widerspreche ich/wir der Nutzung oder Uebermittlung
meiner/unserer Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung gem. Par. 28 Abs. 3 Bundesdatenschutzgesetz.


--- ./OpenSceneGraph-2.3.5/examples/osgdepthpartition/DistanceAccumulator.cpp   
2007-06-12 16:20:16.000000000 +0200
+++ 
/root/./OpenSceneGraph-2.3.5/examples/osgdepthpartition/DistanceAccumulator.cpp 
    2008-03-16 14:02:05.000000000 +0100
@@ -22,6 +22,7 @@
 #include <osg/Projection>
 #include <algorithm>
 #include <math.h>
+#include <limits.h>
 
 /** Function that sees whether one DistancePair should come before another in
     an sorted list. Used to sort the vector of DistancePairs. */
--- ./OpenSceneGraph-2.3.5/src/osgViewer/ViewerEventHandlers.cpp        
2008-02-28 21:02:43.000000000 +0100
+++ /root/./OpenSceneGraph-2.3.5/src/osgViewer/ViewerEventHandlers.cpp  
2008-03-16 13:38:25.000000000 +0100
@@ -16,6 +16,7 @@
 
 #include <fstream>
 #include <sstream>
+#include <climits>
 
 #include <osgViewer/Viewer>
 #include <osgViewer/ViewerEventHandlers>
--- ./OpenSceneGraph-2.3.5/src/osgDB/FileNameUtils.cpp  2008-03-04 
16:10:22.000000000 +0100
+++ /root/./OpenSceneGraph-2.3.5/src/osgDB/FileNameUtils.cpp    2008-03-16 
13:28:41.000000000 +0100
@@ -13,6 +13,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
+#include <cstring>
 
 #include <osgDB/FileNameUtils>
 #include <osgDB/FileUtils>
--- ./OpenSceneGraph-2.3.5/src/osgDB/Registry.cpp       2008-03-04 
15:04:48.000000000 +0100
+++ /root/./OpenSceneGraph-2.3.5/src/osgDB/Registry.cpp 2008-03-16 
13:30:15.000000000 +0100
@@ -27,6 +27,7 @@
 #include <osgDB/Archive>
 
 #include <stdio.h>
+#include <cstring>
 
 #include <algorithm>
 #include <set>
--- ./OpenSceneGraph-2.3.5/src/osgPlugins/gdal/ReaderWriterGDAL.cpp     
2007-12-16 18:33:05.000000000 +0100
+++ /root/./OpenSceneGraph-2.3.5/src/osgPlugins/gdal/ReaderWriterGDAL.cpp       
2008-03-16 13:53:56.000000000 +0100
@@ -26,6 +26,8 @@
 
 #include <gdal_priv.h>
 
+#include <memory>
+
 #include "DataSetLayer.h"
 
 #define SERIALIZER() OpenThreads::ScopedLock<OpenThreads::ReentrantMutex> 
lock(_serializerMutex)  

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to