why not just

#if defined MSVC
# define snprintf _snprintf
# define vsnprintf _vsnprintf

where ever sprintf and family are used


On Feb 28, 2009, at 8:14 AM, Sven Panne wrote:

Am Donnerstag, 19. Februar 2009 17:35:15 schrieb Paul Martz:
* I get a lot of compiler warnings, all of which are 4996, like so:
   warning C4996: 'sprintf': This function or variable may be unsafe.
Consider using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.

FYI: I've just committed changes to avoid the use of sprintf. If VC still
complains (this time about vsnprintf), somebody with VC access should add
pragmas to silence these warnings, they would be of no use.

* I don't really care for the state my desktop is left in after I run the
"one" demo, which changes my screen resolution to something like
640x480x16, and correspondingly rearranges and resizes all my open windows.
Is there plans to retire this functionality, or at least retire the demo?
I'm kind of anal retentive about how my desktop is laid out, and don't care
to have software rearrange it. :-)

This one is still open, but I don't think that it is a show-stopper for a


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
Freeglut-developer mailing list