On Tue, 2002-04-30 at 17:24, Jonathan Polley wrote:
> Here is one you will all like.  It appears as if MSVC does not define 
> snprintf() in any of its headers, but it does have _snprintf() with the 
> same parameter list.  AAAAAAAARG!
> 
> In JSBSim/FGFCS.cpp, I had to add a #define to map _snprintf() to snprintf(
> ) 

Sorry about that.

>in order to get the latest CVS updates to build.  I wasn't sure if 
> replacing snprintf() with sprintf() would be safe, so I didn't.

It's not, that's why snprintf exists.

> 
> Jonathan Polley
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to