[osg-submissions] another std:: namespace include--GraphicsContext.cpp

Robert Osfield robert.osfield at gmail.com
Tue Aug 7 01:02:46 PDT 2007


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-openscenegraph.org
>
>
>


More information about the osg-submissions mailing list