Re: Make error messages

2019-09-22 Thread Paul Smith
ompilation-error-regexp-alist-alist and computes the filename incorrectly. I've sent a patch to Emacs for compile.el which adds a matching regex for GNU make error messages, and assigns them the INFO level since they are usually not needed, but sometimes is is very handy to be able to jump t

Re: Make error messages

2019-09-10 Thread Andreas Schwab
On Sep 10 2019, Paul Smith wrote: > That didn't work, however, because particularly in recursive make the > makefile name is likely not qualified with a path, but the current > working directory when the build is invoked is not the same as the one > where make is invoked--thus "Makefile" is at be

Make error messages

2019-09-10 Thread Paul Smith
I've gone through a few iterations of the format of make error messages and I'm still not happy. Originally we didn't put the makefile name/linenumber in the error at all when a recipe failed (we did for syntax errors in makefiles of course). Then someone asked for make to show