Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorbjörn SVENSSON2020-12-01 10:43:14 +0000
committerTorbjörn Svensson2020-12-01 13:34:03 +0000
commit0f3214ace9d023eb487ff2ab342176ab7f89e9fb (patch)
tree7826677398b1bfee0cc4f2535ac173410b17a87b
parentb5aae48f38bcbf014b62d45e2159c680e44da609 (diff)
downloadorg.eclipse.cdt-0f3214ace9d023eb487ff2ab342176ab7f89e9fb.tar.gz
org.eclipse.cdt-0f3214ace9d023eb487ff2ab342176ab7f89e9fb.tar.xz
org.eclipse.cdt-0f3214ace9d023eb487ff2ab342176ab7f89e9fb.zip
Bug 569353: The mode output from ld is not an error
Change-Id: I1a29bd698c3b37d687bf76a416689df0a69aa50d Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
-rw-r--r--core/org.eclipse.cdt.core/plugin.properties1
-rw-r--r--core/org.eclipse.cdt.core/plugin.xml7
2 files changed, 8 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/plugin.properties b/core/org.eclipse.cdt.core/plugin.properties
index 4de10e9378a..621e8d48562 100644
--- a/core/org.eclipse.cdt.core/plugin.properties
+++ b/core/org.eclipse.cdt.core/plugin.properties
@@ -72,6 +72,7 @@ CDTGNULinkerErrorParser.regex.InFunction=(.*?):?(\\(\\.[^\\s+]+\\+.*\\))?:\\s*(I
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 2ebf769eb26..f7454bbe66b 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

Back to the top