From 018fe1c9237f62fc6a2ddd45da6992abda68ed79 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 16 Dec 2015 09:13:12 +1100 Subject: Detect warnings from the Microsoft linker. --- lexers/LexErrorList.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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: + // { : } warning LNK9999 + return SCE_ERR_MS; } else { // Look for one of the following formats: // GCC: :: -- cgit v1.2.3