[osg-submissions] another std:: namespaceinclude--GraphicsContext.cpp
Andy Skinner
Andy.Skinner at mathworks.com
Tue Aug 7 06:00:41 PDT 2007
Yeah, I feel similarly.
I'd hate to have to put that include back in Export after so many cpp
files have been changed, but if this happens repeatedly, maybe I will.
I know I've seen someone else using the Sun compiler. I'm a bit
surprised that there aren't others, because my understanding is that
this compiler has chosen not to add a "using std::getenv;" and all the
rest. It _is_ a picky compiler. I don't know why others using haven't
had this problem.
andy
-----Original Message-----
From: osg-submissions-bounces at lists.openscenegraph.org
[mailto:osg-submissions-bounces at lists.openscenegraph.org] On Behalf Of
Robert Osfield
Sent: Tuesday, August 07, 2007 4:03 AM
To: osg-submissions at lists.openscenegraph.org
Subject: Re: [osg-submissions] another std::
namespaceinclude--GraphicsContext.cpp
Thanks Andy, change now merged and submitted to SVN.
I must admit at a bit of dread with merging these changes - its
something it would seem that we'll be forever anchored too, Make
small change to the OSG break your build. Nobody else is reporting
these problems so it would seem that you alone will have shoulder the
burden of testing and fixing these problems.
Perhaps one solution to this would be to have a hack in
include/osg/Export that does a include of the c headers, and put it in
an #ifdef SOLARIS_COMPILER_HACK #endif block
Robert.
On 8/6/07, Andy Skinner <Andy.Skinner at mathworks.com> wrote:
>
>
>
>
> GraphicsContext.cpp had atoi and getenv calls added for the DISPLAY
changes,
> I think.
>
>
>
> The attached file adds #include <stdlib.h> to GraphicsContext.cpp, so
that
> it compiles with the solaris compiler we use.
>
>
>
> andy
>
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
>
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegr
aph.org
>
>
>
_______________________________________________
osg-submissions mailing list
osg-submissions at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegr
aph.org
More information about the osg-submissions
mailing list