Thanks, Philip. I checked in the <stdlib.h> change on the 2.6 branch.
 
I'm not sure the WIN32_WINNT change is correct. Are you aware that you can
set this as a /D compile option in cmake? Given that, do you still think
adding this #define directly to the source is the right thing to do? (A
search for WIN32_WINNT at msdn turns up a variety of info, none of it
particularly clear to me...)
   -Paul
 


Songbo,

Looks like a bug.  To workaround the problem on your system, add the
following to Win32Thread.cpp, near the top:
#include <stdlib.h>



osg-submissions,

I can't reproduce the compilation error with my MinGW and the latest OSG
trunk but I'm attaching the fix anyways since <stdlib.h> should be #included
in this source file anyways.  I can reproduce the warning due to the
redefinition of _WIN32_WINNT and I've fixed it.

-- 
Philip Lowman


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to