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:48:44 +0300

> Date: Thu, 10 Oct 2013 17:42:11 +0200
> From: Bob Shark <address@hidden>
> 
> Contrary to the Statement in readme.w32 Make 4.0 does not comile with
> MSVC7.1.

It looks like no one who does have MSVC 7 installed (I don't) is
tracking the release candidates.  So, unfortunately, these problems
are only detected when a release hits the FTP sites.

> Output.c uses CRT features not available:
> 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);

The second one is due to a typo:

# define snprintf msc_vsnprintf

This should have been "vsnprintf", so its usage later is replaced.

> exe was built but didn't test it so far.

Could you please test it?  (Or maybe you already did?)  If the result
works correctly when -O is used, I will install these changes; I don't
have MSVC installed to test them myself.

> Hope you Keep on supporting MSVC2003 as I won't by any further MS
> Compiler...

Maybe you should consider switching to MinGW instead.

Thanks.



reply via email to

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