I have been trying to build OSG 2.9.6 with precompiled headers.
As a starting point I just included all the headers in "osg"

This causes an issue with ShadowVolumeOccluder which defines a std::pair named 
Point, but the precompiled header already includes an osg::Point.  
ShadowVolumeOccluder  has a "using namespace osg" which leads to a clash.

There are a number of things like this and it's very time consuming to fix 
them, since you have to change the stdafx.h and rebuild the .pch and then the 
project after each one.

Would it be a good idea to avoid "using namespace osg" in the headers?

Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22854#22854





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to