After a while I finally took the time to replace my old 2.3.7
installation on IRIX with 2.4.0. Apparently the MIPSPro compiler
dislikes one little piece in the following changeset:

  http://www.openscenegraph.org/projects/osg/changeset/7756


------------------------------- snip ------------------------------------------
[ 84%] Building CXX object 
src/osgPlugins/OpenFlight/CMakeFiles/osgdb_openflight.dir/AncillaryRecords.o
/usr/bin/CC  -LANG:libc_in_namespace_std=OFF  -Dosgdb_openflight_EXPORTS
  -O2 -DNDEBUG -I/usr/local/src/OpenSceneGraph-2.4.0/include
  -o 
src/osgPlugins/OpenFlight/CMakeFiles/osgdb_openflight.dir/AncillaryRecords.o
  -c 
/usr/local/src/OpenSceneGraph-2.4.0/src/osgPlugins/OpenFlight/AncillaryRecords.cpp
[... tons of WARNINGs ...]
cc-1367 CC: ERROR File = 
/usr/local/src/OpenSceneGraph-2.4.0/include/osg/ref_ptr, Line = 30
  A pointer to an incomplete class type is not allowed.

          ~ref_ptr() { if (_ptr) _ptr->unref();  _ptr = 0; }
                                 ^
          detected during instantiation of
                    "osg::ref_ptr<flt::PrimaryRecord>::~ref_ptr()" at line 64
                    of
                    
"/usr/local/src/OpenSceneGraph-2.4.0/src/osgPlugins/OpenFlight/Record.h"

1 error detected in the compilation of 
"/usr/local/src/OpenSceneGraph-2.4.0/src/osgPlugins/OpenFlight/AncillaryRecords.cpp".
------------------------------- snip ------------------------------------------


Reverting the change in 'src/osgPlugins/OpenFlight/Record.h' at line 64 to read:

      virtual ~Record();

.... makes the compiler happy - yet I don't have the slightest clue if
this has any influence on proper functionality ....  :-)

        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to