[Osg-submissions] FW: another try at stdlib fixes
Andy Skinner
Andy.Skinner at mathworks.com
Fri Jul 20 10:11:01 PDT 2007
I sent this late Wednesday, and don't know if it was seen.
thanks
andy
________________________________
From: Andy Skinner
Sent: Wednesday, July 18, 2007 8:44 PM
To: 'Bug fixes, enhancements, code changes for OSG'
Subject: another try at stdlib fixes
Robert, this file has a different approach.
Almost everything includes include/osg/Export. It already has some
general stuff in there, so I included stdlib.h, stdio.h, and string.h
there. I assume this will also be slower, but it seems to work.
There were a couple of changes to other files. I added limits.h and
stdlib.h to src/osgDB/FileNameUtils.cpp (I don't know why I had to add
stdlib.h, because I think it gets Export, too). I added string.h to
src/osgPlugins/txp/trpage_swap.cpp, which didn't use any OSG includes.
What do you think? Far fewer files explicitly changed, but more impact
(just about everybody gets Export).
We just use std::atof(), etc, as a routine here.
thanks,
andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/private.cgi/osg-submissions-openscenegraph.org/attachments/20070720/44964dd0/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: files.tar.gz
Type: application/x-gzip
Size: 3543 bytes
Desc: files.tar.gz
Url : http://lists.openscenegraph.org/private.cgi/osg-submissions-openscenegraph.org/attachments/20070720/44964dd0/attachment.bin
More information about the osg-submissions-openscenegraph.org
mailing list