Addind stdlib.h did not help.  It has been suggested to me that our use
of STLport may be making the difference.  I'll look into that.

andy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Skinner
Sent: Monday, June 25, 2007 8:50 AM
To: osg users
Subject: RE: [osg-users] std namespace on SUNWspro compiler

Here's what I get.  I'm running the flags we use to build our software
straight into this, and don't know what most of it means ....

[  1%] Building CXX object src/osg/CMakeFiles/osg.dir/ArgumentParser.o
/hub/sol2/apps/SUNWspro_studio11_20061107/opt/SUNWspro/bin/CC
   -Dosg_EXPORTS -xO3 -xlibmil -dalign -xlibmieee -library=stlport4,Crun
   -mt -features=tmplife -norunpath -errtags=yes -KPIC -xarch=v9a -KPIC
 
-I/mathworks/devel/sandbox/askinner/Amake/3p/derived/sol64/osg2/include
   -DOSG_LIBRARY -o src/osg/CMakeFiles/osg.dir/ArgumentParser.o
   -c
/mathworks/devel/sandbox/askinner/Amake/3p/derived/sol64/osg2/src/osg/Ar
gumentParser.cpp

andy

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Spott
Sent: Saturday, June 23, 2007 5:19 PM
To: [email protected]
Subject: Re: [osg-users] std namespace on SUNWspro compiler

Hi Andy,

"Andy Skinner" wrote:
> One example of a file with these problems is
src/osg/ArgumentParser.cpp,
> complaining about atof(), atoi(), and strncmp().

Would you mind comparing a 'VERBOSE=1' build on your Sun with the
following compiler command:

[  1%] Building CXX object src/osg/CMakeFiles/osg.dir/ArgumentParser.o
/opt/SUNWspro/bin/CC  -xO3 -xtarget=ultra2 -xautopar -xprefetch=auto
-Dosg_EXPORTS   -KPIC -I/usr/local/src/OpenSceneGraph/include
-DOSG_LIBRARY -o src/osg/CMakeFiles/osg.dir/ArgumentParser.o -c
/usr/local/src/OpenSceneGraph/src/osg/ArgumentParser.cpp


This is what I get with SunStudio11 on Solaris10/Sparc - the result
looks pretty good to me ....

        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are
!
------------------------------------------------------------------------
--
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to