Hi Robert, Neil,

On Thursday 26 June 2008 17:16, Robert Osfield wrote:
> I've add Neil into this reply as he's the author of the MixinVector
> and being a boost contributor will probably be able to leverage links
> into the boost community w.r.t portability to MipsPro STL
> compatibilty.
Sorry, the SGI had an other one. That was an ICE on something.
It is the aCC HP-UX one.

> Mathias, if you have chance could you post to Neil and the rest of us
> the actual compile error produced.
Attached that.
I did not have a chance to look into that very close.
Anyway, having a vector<bool,float> as claimed by the compiler is really 
strange here ...

Greetings and thanks

Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

[  0%] Building CXX object src/osg/CMakeFiles/osg.dir/Billboard.o
cd /scr/merkur/froehl/OpenSceneGraph/viz-hpux/OpenSceneGraph-ref-weak/src/osg && /opt/aCC/bin/aCC  -AA -mt -g  -DOSG_DEBUG_POSTFIX=\"d\" -DOSG_LIBRARY -Dosg_EXPORTS +Z -I/scr/merkur/froehl/OpenSceneGraph/viz-hpux/OpenSceneGraph-ref-weak/include -I/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include -I/opt/graphics/OpenGL/include   -o CMakeFiles/osg.dir/Billboard.o -c /home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/src/osg/Billboard.cpp
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 233 # The cast from 'osg::Geode &' to 'osg::Node &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Geode& node)                     { apply((Node&)node); }
                                                                    ^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 233 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Geode *' to 'osg::Node *'.
    tual void apply(Geode& node)                     { apply((Node&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 234 # The cast from 'osg::Billboard &' to 'osg::Geode &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Billboard& node)                 { apply((Geode&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 234 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Billboard *' to 'osg::Geode *'.
    ual void apply(Billboard& node)                 { apply((Geode&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 236 # The cast from 'osg::Group &' to 'osg::Node &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Group& node)                     { apply((Node&)node); }
                                                                    ^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 236 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Group *' to 'osg::Node *'.
    tual void apply(Group& node)                     { apply((Node&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 238 # The cast from 'osg::ProxyNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(ProxyNode& node)                 { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 238 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::ProxyNode *' to 'osg::Group *'.
    ual void apply(ProxyNode& node)                 { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 240 # The cast from 'osg::Projection &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Projection& node)                { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 240 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Projection *' to 'osg::Group *'.
    ual void apply(Projection& node)                { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 242 # The cast from 'osg::CoordinateSystemNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(CoordinateSystemNode& node)      { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 242 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::CoordinateSystemNode *' to 'osg::Group *'.
    ual void apply(CoordinateSystemNode& node)      { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 244 # The cast from 'osg::ClipNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(ClipNode& node)                  { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 244 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::ClipNode *' to 'osg::Group *'.
    ual void apply(ClipNode& node)                  { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 245 # The cast from 'osg::TexGenNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(TexGenNode& node)                { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 245 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::TexGenNode *' to 'osg::Group *'.
    ual void apply(TexGenNode& node)                { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 246 # The cast from 'osg::LightSource &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(LightSource& node)               { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 246 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::LightSource *' to 'osg::Group *'.
    ual void apply(LightSource& node)               { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 248 # The cast from 'osg::Transform &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Transform& node)                 { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 248 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Transform *' to 'osg::Group *'.
    ual void apply(Transform& node)                 { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 249 # The cast from 'osg::Camera &' to 'osg::Transform &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Camera& node)                    { apply((Transform&)node); }
                                                                    ^^^^^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 249 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Camera *' to 'osg::Transform *'.
    void apply(Camera& node)                    { apply((Transform&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 250 # The cast from 'osg::CameraView &' to 'osg::Transform &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(CameraView& node)                { apply((Transform&)node); }
                                                                    ^^^^^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 250 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::CameraView *' to 'osg::Transform *'.
    void apply(CameraView& node)                { apply((Transform&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 251 # The cast from 'osg::MatrixTransform &' to 'osg::Transform &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(MatrixTransform& node)           { apply((Transform&)node); }
                                                                    ^^^^^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 251 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::MatrixTransform *' to 'osg::Transform *'.
    void apply(MatrixTransform& node)           { apply((Transform&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 252 # The cast from 'osg::PositionAttitudeTransform &' to 'osg::Transform &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(PositionAttitudeTransform& node) { apply((Transform&)node); }
                                                                    ^^^^^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 252 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::PositionAttitudeTransform *' to 'osg::Transform *'.
    void apply(PositionAttitudeTransform& node) { apply((Transform&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 254 # The cast from 'osg::Switch &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Switch& node)                    { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 254 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Switch *' to 'osg::Group *'.
    ual void apply(Switch& node)                    { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 255 # The cast from 'osg::Sequence &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(Sequence& node)                  { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 255 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::Sequence *' to 'osg::Group *'.
    ual void apply(Sequence& node)                  { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 256 # The cast from 'osg::LOD &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(LOD& node)                       { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 256 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::LOD *' to 'osg::Group *'.
    ual void apply(LOD& node)                       { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 257 # The cast from 'osg::PagedLOD &' to 'osg::LOD &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(PagedLOD& node)                  { apply((LOD&)node); }
                                                                    ^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 257 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::PagedLOD *' to 'osg::LOD *'.
    rtual void apply(PagedLOD& node)                  { apply((LOD&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 258 # The cast from 'osg::ClearNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(ClearNode& node)                 { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 258 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::ClearNode *' to 'osg::Group *'.
    ual void apply(ClearNode& node)                 { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 259 # The cast from 'osg::OccluderNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(OccluderNode& node)              { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 259 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::OccluderNode *' to 'osg::Group *'.
    ual void apply(OccluderNode& node)              { apply((Group&)node); }
                                                                    ^^^^    
Warning 749: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 260 # The cast from 'osg::OcclusionQueryNode &' to 'osg::Group &' is performed as a 'reinterpret_cast'. This operation is non-portable and potentially unsafe.
        virtual void apply(OcclusionQueryNode& node)        { apply((Group&)node); }
                                                                    ^^^^^^^^        
Warning 740: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/NodeVisitor", line 260 # Unsafe cast between pointers/references to incomplete classes: casting 'osg::OcclusionQueryNode *' to 'osg::Group *'.
    ual void apply(OcclusionQueryNode& node)        { apply((Group&)node); }
                                                                    ^^^^    
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification '_Allocator::rebind<unsigned int>', yet generation of specialization class vector<bool,float> implies that '_Allocator' is 'float', which is not a class type.
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification 'rebind<unsigned int>::other', yet generation of specialization class vector<bool,float> implies that 'rebind<unsigned int>' is 'int', which is not a class type.
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification '_Allocator::size_type', yet generation of specialization class vector<bool,float> implies that '_Allocator' is 'float', which is not a class type.
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification '_Allocator::difference_type', yet generation of specialization class vector<bool,float> implies that '_Allocator' is 'float', which is not a class type.
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification 'other::pointer', yet generation of specialization class vector<bool,float> implies that 'other' is 'int', which is not a class type.
Error 617: Exact position unknown; near ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511]. # The definition of template vector<bool,float> contains typename qualification 'other::const_pointer', yet generation of specialization class vector<bool,float> implies that 'other' is 'int', which is not a class type.
Error 376: "/opt/aCC/include_std/vector", line 760 # Class name expected.
    class _RWSTD_EXPORT vector<bool, _Allocator > : private _Allocator
                                                    ^^^^^^^^^^^^^^^^^^
Error 617: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Array", line 334 # The definition of template MixinVector<float,std::allocator<float> > contains typename qualification 'ValueT::size_type', yet generation of specialization class MixinVector<float,std::allocator<float> > implies that 'ValueT' is 'float', which is not a class type.
    typedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT>         
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^         
Error 617: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Array", line 334 # The definition of template MixinVector<float,std::allocator<float> > contains typename qualification 'ValueT::difference_type', yet generation of specialization class MixinVector<float,std::allocator<float> > implies that 'ValueT' is 'float', which is not a class type.
    typedef TemplateArray<GLfloat,Array::FloatArrayType,1,GL_FLOAT>         
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^         
Error 339: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511 # Return type 'osg::TemplateArray<float,(osg::Array::Type)8,(int)1,(int)5126> &' does not match expected return type 'std::vector<float,std::allocator<float> > &'
            HeightList& getHeightList() { return *_heights; }
                                                 ^           
Error 437: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511 # Type mismatch; cannot initialize a 'std::vector<float,std::allocator<float> > &' with a 'class TemplateArray<float,(osg::Array::Type)8,(int)1,(int)5126>'. Try changing 'std::vector<float,std::allocator<float> > &' to 'const std::vector<float,std::allocator<float> > &' at ["/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511].
            HeightList& getHeightList() { return *_heights; }
                                                 ^           
Error 226: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511 # No appropriate function found for call of 'vector::vector'. Last viable candidate was "std::vector<float,std::allocator<float> >::vector(const std::vector<float,std::allocator<float> > &)" ["/opt/aCC/include_std/vector", line 340]. Argument of type 'class TemplateArray<float,(osg::Array::Type)8,(int)1,(int)5126>' could not be converted to 'const std::vector<float,std::allocator<float> > &'.
            HeightList& getHeightList() { return *_heights; }
                                                 ^           
Error 699: "/home/froehl/PowerVIZ/osg/OpenSceneGraph-ref-weak/include/osg/Shape", line 511 # Error limit reached; halting compilation.
            HeightList& getHeightList() { return *_heights; }
                                                 ^           
gmake[2]: *** [src/osg/CMakeFiles/osg.dir/Billboard.o] Error 2
gmake[2]: Leaving directory `/net/merkur/fs1/scr/merkur/froehl/OpenSceneGraph/viz-hpux/OpenSceneGraph-ref-weak'
gmake[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
gmake[1]: Leaving directory `/net/merkur/fs1/scr/merkur/froehl/OpenSceneGraph/viz-hpux/OpenSceneGraph-ref-weak'
gmake: *** [all] Error 2
gmake: Leaving directory `/net/merkur/fs1/scr/merkur/froehl/OpenSceneGraph/viz-hpux/OpenSceneGraph-ref-weak'
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to