Hi Stephan,

On Thu, Jun 23, 2011 at 9:40 PM, Stephan Wenglorz
<stephan.maku...@gmx.net> wrote:
> /home/stephan/Dev/LibSources/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:
> In member function ‘void plugin3ds::WriterNodeVisitor::writeMaterials()’:
> /home/stephan/Dev/LibSources/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:486:14:
> warning: variable ‘found’ set but not used [-Wunused-but-set-variable]
> /home/stephan/Dev/LibSources/OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In
> member function ‘void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned
> int)’:
> /home/stephan/Dev/LibSources/OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:797:85:
> warning: variable ‘ModeValuePair’ set but not used
> [-Wunused-but-set-variable]

I've fixed these warnings and checked the fixes into svn/trunk and
OSG-3.0 branch.

> /home/stephan/Dev/LibSources/OpenSceneGraph/include/osg/Vec3f: In function
> ‘(static initializers for
> /home/stephan/Dev/LibSources/OpenSceneGraph/examples/osgsharedarray/osgsharedarray.cpp)’:
> /home/stephan/Dev/LibSources/OpenSceneGraph/include/osg/Vec3f:42:82:
> warning: array subscript is above array bounds [-Warray-bounds]

I can't work out what is wrong with the code in osgshaderarray.cpp or
Vec3f - it all looks correct to me
with non of the array subscripts out of bounds.  Can you spot an
error?  Is suspect this might just be
a compile bug issues a warning in error.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to