A friend pointed out that find and sort really are stl functions, and
not the same thing as the stdlib functions I was looking into before.

andy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Skinner
Sent: Tuesday, December 11, 2007 2:35 PM
To: OpenSceneGraph Users
Subject: [osg-users] Solaris compilation issues in SVN

I'm looking for the same kinds of things we've been struggling with in
the past--standard template library functions that aren't in the solaris
compiler's headers.

We've fixed them in the past by adding includes to stdlib.h or similar.
I am looking at a couple in DatabasePager.cpp.  I could try to fix them
in a similar way, but I notice that there are occurrences of these
functions with std:: in front of them.  For example, one call to find()
is std::find(...), and another is just find(...).  The first compiles
for me, the second doesn't.

At my company, we would address this with the std:: prefix.  But I
thought we didn't want to do that in the OSG.

Should I address these with std::, as other calls in this file do?  Or
remove the std:: from the other calls and find the right include to fix
it?

andy

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

Reply via email to