Bug 569353: The mode output from ld is not an error
Change-Id: I1a29bd698c3b37d687bf76a416689df0a69aa50d
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
diff --git a/core/org.eclipse.cdt.core/plugin.properties b/core/org.eclipse.cdt.core/plugin.properties
index 4de10e9..621e8d4 100644
--- a/core/org.eclipse.cdt.core/plugin.properties
+++ b/core/org.eclipse.cdt.core/plugin.properties
@@ -72,6 +72,7 @@
CDTGNULinkerErrorParser.regex.WarningDangerousFunction=(.*?):(\\d+):(\\d+:)? ([Ww]arning:)?\\s*(the use of [`'"](.*)['"] is dangerous, better use [`'"](.*)['"].*)
CDTGNULinkerErrorParser.regex.TextWarning=(.*?):?\\(\\.[^\\s+]+\\+.*\\): [Ww]arning:? (.*)
CDTGNULinkerErrorParser.regex.TextError=(.*?):?\\(\\.[^\\s+]+\\+.*\\): (.*)
+CDTGNULinkerErrorParser.regex.LdMode=(.*[/\\\\])?ld(\\.exe)?: (mode .*)
CDTGNULinkerErrorParser.regex.ldWarning=(.*[/\\\\])?ld(\\.exe)?: [Ww]arning:? (.*)
CDTGNULinkerErrorParser.regex.ldError=(.*[/\\\\])?ld(\\.exe)?: (.*)
diff --git a/core/org.eclipse.cdt.core/plugin.xml b/core/org.eclipse.cdt.core/plugin.xml
index 2ebf769..f7454bb 100644
--- a/core/org.eclipse.cdt.core/plugin.xml
+++ b/core/org.eclipse.cdt.core/plugin.xml
@@ -257,6 +257,13 @@
eat-processed-line="true"
file-expr=""
line-expr=""
+ regex="%CDTGNULinkerErrorParser.regex.LdMode"
+ severity="Info"/>
+ <pattern
+ description-expr="$3"
+ eat-processed-line="true"
+ file-expr=""
+ line-expr=""
regex="%CDTGNULinkerErrorParser.regex.ldWarning"
severity="Warning"/>
<pattern