One convention that we use is to include stdafx.h first and then the "dll"
header file. It is too bad that OSG didn't follow this convention
otherwise; I'd pursue making a submission that turned on pre-compiled
headers (That's easy to do actually). If this were turned on, it is
possible to build projects in under a minute rather than take an hour (Even
the OSG project). I'm not sure if other compilers have such a feature, but
if someone wanted to take and run with this idea, it would make all the
VS7-9 OSG developers very happy.
James Killian
----- Original Message -----
From: "Robert Osfield" <[email protected]>
To: "OpenSceneGraph Submissions" <[email protected]>
Sent: Friday, January 09, 2009 6:12 AM
Subject: Re: [osg-submissions] fixes for solaris build
Thanks Andy, build fixes now merged and submitted to svn. I number of
additions of stdlib.h probably comes down to clean up of OSG headers
that I did which removed unnecessary includes, this while cleaner does
push the need to include stdlib.h etc. on to more source files.
On Thu, Jan 8, 2009 at 7:17 PM, Andy Skinner <[email protected]>
wrote:
Remember how I've had to add lots of includes to files for uses of
getenv(),
system(), atoi(), and similar, for our Solaris compiler?
Here is a pile more. This shows how long it has been since I was
compiling
OSG regularly, and how much has gone in.
thanks
andy
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org