Problem: GNU Make issues messages such as
make[1]: *** [foo/bar/baz/Makefile:210] Error 1
The default 'errorformat' value matches these messages because of the
%f:%l:%m pattern, and creates quickfix list entries that appear valid
but create a new buffer named make[1]: *** [foo/bar/baz/Makefile,
which is obviously incorrect.
Solution: Add entries to 'errorformat' to ignore these messages.
The entries added are:
%-Gg%\?make[%*\d]: *** [%f:%l:%m%-Gg%\?make: *** [%f:%l:%mThis covers all of the following cases:
make[1]: *** [foo/bar/baz/Makefile:200] Error 1
gmake[1]: *** [foo/bar/baz/Makefile:200] Error 1
make: *** [Makefile:114: all] Error 2
gmake: *** [Makefile:114: all] Error 2
https://github.com/vim/vim/pull/12481
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Merging #12481 (ab93e35) into master (a109f39) will increase coverage by
0.64%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #12481 +/- ## ========================================== + Coverage 82.08% 82.73% +0.64% ========================================== Files 160 150 -10 Lines 193589 180399 -13190 Branches 43465 40541 -2924 ========================================== - Hits 158915 149257 -9658 + Misses 21827 18186 -3641 - Partials 12847 12956 +109
| Flag | Coverage Δ | |
|---|---|---|
| huge-clang-none | 82.73% <ø> (-0.01%) |
⬇️ |
| linux | 82.73% <ø> (-0.01%) |
⬇️ |
| mingw-x64-HUGE | ? |
|
| mingw-x86-HUGE | ? |
|
| windows | ? |
Flags with carried forward coverage won't be shown. Click here to find out more.
see 142 files with indirect coverage changes
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@gpanders pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
There is actually already a line in the Test_efm1 error file like this:
make: *** [vim] Error 1
I changed this to
make: *** [src/vim/testdir/Makefile:100: test_quickfix] Error 1
which causes the test to fail on master, but passes with this patch applied. Hopefully that is sufficient.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I'm very excited by the prospect of not having make: *** [ buffers` created all the time it's been driving me insane.
But does this ignore the messages? Wouldn't the sane default by to not ignore the error, but match it and properly locate the error to the appropriate location (in the makefile)?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()