From: Fay, J. F Dr C. U. A. 46 S. <joh...@eg...> - 2009-02-28 21:01:16
|
Surprisingly, your file made it here and I was able to unpack it. I am able to build "freeglut" with no errors or warnings but I still can't build the demos that have "vsnprintf" in them. I think we'll need the same changes in the demo project files. John F. Fay Technical Fellow Jacobs Technology TEAS Group 850-883-1294 -----Original Message----- From: Paul Martz [mailto:pm...@sk...] Sent: Saturday, February 28, 2009 2:21 PM To: 'FreeGLUT developers list' Subject: Re: [Freeglut-developer] Testing: VS 2005 I've attached modified .dsp files for dynamic and static freeglut, which defines _CRT_SECURE_NO_WARNINGS as Norman suggested. I'm not at my desk, so can't test this on my system that has VC6. Using my laptop and VS8, I was able to load/convert the .dsw, and freeglut builds without any of the deprecation warnings. If someone with VC6 could test this change, that'd be awesome; the symbol should be ignored on VC6 I would imagine. Note that I tried just #defining this symbol at the top of freeglut_internal.h, but this did not eliminate any of the deprecation warnings. For some reason, this needs to be a /D command line definition. The project files are probably a better location anyhow, as this restricts the definition to VS compilers, which is what we want. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 |