bug-make
[Top][All Lists]
Advanced

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

including makefile name and line number for shell_function_completed


From: Jon Grant
Subject: including makefile name and line number for shell_function_completed
Date: Sun, 1 Aug 2010 00:54:40 +0100

Hello

I am using make 3.81 built for MinGW.

How easy to output the Makefile.mak:line for each command that fails to start?

I saw this function is what outputs the error, but not sure how to get
file and line number info. Any ideas?

Thanks, Jon

shell_function_completed

                if (werr)
                  fprintf(stderr, "make (e=%d): %s",
                          exit_code, map_windows32_error_to_string(exit_code));



reply via email to

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