aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-12-16 09:13:12 +1100
committerNeil <nyamatongwe@gmail.com>2015-12-16 09:13:12 +1100
commit497d552e0d6042a392ea21a3ba086ebb41c1b3e7 (patch)
tree3460223d37983cdcd991e5e3a6c5dc99233e069d
parent2dd18cabeaed4800f34bf1b308deefbfcd21db2e (diff)
downloadscintilla-mirror-497d552e0d6042a392ea21a3ba086ebb41c1b3e7.tar.gz
Detect warnings from the Microsoft linker.
-rw-r--r--lexers/LexErrorList.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/lexers/LexErrorList.cxx b/lexers/LexErrorList.cxx
index f3d68f2ae..56ae86594 100644
--- a/lexers/LexErrorList.cxx
+++ b/lexers/LexErrorList.cxx
@@ -127,6 +127,10 @@ static int RecogniseErrorListLine(const char *lineBuffer, Sci_PositionU lengthLi
strstart(lineBuffer, " from ")) {
// GCC showing include path to following error
return SCE_ERR_GCC_INCLUDED_FROM;
+ } else if (strstr(lineBuffer, "warning LNK")) {
+ // Microsoft linker warning:
+ // {<object> : } warning LNK9999
+ return SCE_ERR_MS;
} else {
// Look for one of the following formats:
// GCC: <filename>:<line>:<message>