bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make 4.0 does not compile with MSVC 7.1


From: Eli Zaretskii
Subject: Re: Make 4.0 does not compile with MSVC 7.1
Date: Sat, 19 Oct 2013 11:53:05 +0300

> Date: Sat, 19 Oct 2013 11:48:44 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> > 1) _TRUNCATE is unknown
> >     Workaround: use (size_t)-1
> > 2) vsnprintf unknown
> >     Workaround: use _vsnprintf
> > 3) _vsnprintf_s unknown
> >     Workaround: replace
> >          len = _vsnprintf_s (str, size, _TRUNCATE, format, ap);
> >     with
> >          len = _vsnprintf (str, /*size,*/ (size_t)-1, format, ap);

Btw, where did you see documentation of the semantics of calling
_vsnprintf with second argument -1?  I don't see anything about that
on the MSDN page where this function is described.  What does that do?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]