[osg-submissions] minor change to osgtext.cpp example to work around GCC 3.2.3 bug
Philip Lowman
philip at yhbt.com
Mon Feb 4 10:47:06 PST 2008
The examples/osgtext/osgtext.cpp file does not compile for me on gcc 3.2.3
(RHEL3) presumably due to a compiler bug.
A fix is attached.
[ 98%] Building CXX object
examples/osgtext/CMakeFiles/example_osgtext.dir/osgtext.o
/home/lowmanp/svn/OpenSceneGraph/examples/osgtext/osgtext.cpp: In member
function `void UpdateTextOperation::load()':
/home/lowmanp/svn/OpenSceneGraph/examples/osgtext/osgtext.cpp:549: syntax
error
before `;' token
/home/lowmanp/svn/OpenSceneGraph/examples/osgtext/osgtext.cpp:560: invalid
operands of types `osg::Vec3 ()(...)' and `float' to binary `operator*'
make[2]: *** [examples/osgtext/CMakeFiles/example_osgtext.dir/osgtext.o]
Error 1
make[1]: *** [examples/osgtext/CMakeFiles/example_osgtext.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgtext.cpp.gz
Type: application/octet-stream
Size: 0 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080204/f303ea64/attachment.obj
More information about the osg-submissions
mailing list