URL:
<http://savannah.gnu.org/bugs/?41730>
Summary: Make doesn't show text for error messages when using
the Microsoft C runtime
Project: make
Submitted by: None
Submitted on: Fr 28 Feb 2014 09:34:05 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.0
Operating System: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
Make doesn't show the text for error messages when compiled with the Microsoft
C++ compiler (Visual Studio 2010 in my case). This is because the
msc_vsnprintf function defined just for this case isn't actually used. The
following patch fixes the issue:
--- output.c.orig 2014-02-28 10:33:00.909575093 +0100
+++ output.c 2014-02-28 10:32:21.383192857 +0100
@@ -61,7 +61,7 @@
#endif
#ifdef _MSC_VER
# define va_copy(_d, _s) ((_d) = (_s))
-# define snprintf msc_vsnprintf
+# define vsnprintf msc_vsnprintf
static int
msc_vsnprintf (char *str, size_t size, const char *format, va_list ap)
{
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41730>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make