bugmake - Bugs: bug #41730, Make doesn't show text for error...

 
 

bug #41730: Make doesn't show text for error messages when using the Microsoft C runtime

Submitted by:  None
Submitted on:  Fri 28 Feb 2014 09:34:05 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.0Operating System: MS Windows
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 28 Feb 2014 09:50:16 AM UTC, comment #1:

Duplicate of bug #40227 which is already fixed in git.

You'll soon realize that there are some other issues with stock 4.0 when it's built with msvc, so better go with the latest in git ;-)

Christian Boos <cboos>
Fri 28 Feb 2014 09:34:05 AM UTC, original submission:

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)
{

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Updated the item)
  • -unavailable- added by cboos (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Mar 2014 06:00:44 PM UTCpsmithStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1