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
commit018fe1c9237f62fc6a2ddd45da6992abda68ed79 (patch)
tree449732177d97c57f2a48f51dac1ed562d0c5ba8a
parentd3e28132698fef1c9ab12c957373a60711869e8e (diff)
downloadscintilla-mirror-018fe1c9237f62fc6a2ddd45da6992abda68ed79.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>