Bernie Bright writes:
> Jonathan Polley wrote:
> > 
> > Two other things.  First there is a constant string in telnet.cxx that
> > contains <CR>s, which MSVC does not like.  Second, telnet.cxx uses
> > snprintf(), which is not supported under MSVC (for some reason, they use
> > _snprintf(), go figure).
> > 
> 
> Could we fix the snprintf/_snprintf problem once and for all by adding
> 
> #define snprintf _snprintf
> 
> to simgear/compiler.h in the MSVC section.

I'm open to this.  This problem keeps biting us poor unsuspecting unix
programmers. :-)

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to