Applied patch from Bob Doan to ignore libtool messages when parsing the output of make (thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1045 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-12-03 22:43:09 +00:00
parent 956e5ad179
commit 8b804b51b2
2 changed files with 11 additions and 5 deletions

View File

@ -8,6 +8,8 @@
src/prefs.c, src/sci_cb.c:
Added new preference to unfold all children of a fold point if the
fold point is unfolded.
* src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
messages when parsing the output of make (thanks).
2006-12-02 Enrico Tröger <enrico.troeger@uvena.de>

View File

@ -532,11 +532,15 @@ void msgwin_parse_compiler_error_line(const gchar *string, gchar **filename, gin
case GEANY_FILETYPES_MAKE: // Assume makefile is building with gcc
default: // The default is a GNU gcc type error
{
data.pattern = ":";
data.min_fields = 3;
data.line_idx = 1;
data.file_idx = 0;
break;
// don't accidently find libtool versions x:y:x and think it is a file name
if (strstr(string, "libtool --mode=link") == NULL)
{
data.pattern = ":";
data.min_fields = 3;
data.line_idx = 1;
data.file_idx = 0;
break;
}
}
}