Julian Foad wrote:
> 
> 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).
> 
> I think the reason is that "snprintf" is not a standard (i.e. ANSO/ISO standard 
>library) function and a standard-conforming compiler should not introduce 
>non-standard names into the user's name space (names starting with _ are reserved for 
>this sort of purpose).
> 
> Anyway, I agree with Bernie's request that it should be #defined in the compiler.h.
> 

For the record snprintf() is part of the C99 standard.  Anyways I've
submitted a patch for Curt to commit.

Bernie

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

Reply via email to