Building with Sun's CC 5.8 i get the errors:

".../Source/System/NodeCores/Drawables/Geometry/OSGExtrusionGeometry.cpp", line 1765: Error: subdivide<VectorTypeT>(const std::vector<osg::VectorTypeT, std::allocator<std::T>>&, std::vector<osg::VectorTypeT, std::allocator<std::T>>*, bool) was previously declared "extern", not "static". ".../Source/System/NodeCores/Drawables/Geometry/OSGExtrusionGeometry.cpp", line 1855: Error: subdivide<VectorTypeT>(const std::vector<osg::VectorTypeT, std::allocator<std::T>>&, std::vector<osg::VectorTypeT, std::allocator<std::T>>*, unsigned, bool) was previously declared "extern", not "static".

which can be fixed by making the forward declarations in lines 108f static, too:

template <class VectorTypeT>
static void subdivide(const typename std::vector<VectorTypeT> &dataIn,
               typename std::vector<VectorTypeT> *dataOut,
               bool closed);

template <class VectorTypeT>
static void subdivide(const typename std::vector<VectorTypeT> &dataIn,
               typename std::vector<VectorTypeT> *dataOut,
               UInt32 nTimes,
               bool close);

regards,
  Patric

--
Patric Schmitz, MaTA i.A.
RWTH Aachen University, Center for Computing and Communication
Rechen- und Kommunikationszentrum, Virtual Reality Group
Seffenter Weg 23, D 52074 Aachen (Germany)
Phone: + 49 241 80 24893
mailto:[EMAIL PROTECTED] http://www.rz.rwth-aachen.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to