From 794ea514478648bf801773b5588450518dcf16d0 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 19 Jul 2013 11:09:57 +0300 Subject: [PATCH] LdParser: Do not consider "first defined here" as an error Change-Id: I01b27cd12776e22a5b52ceae4c89a4cd567c69ed Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/ldparser.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/ldparser.cpp b/src/plugins/projectexplorer/ldparser.cpp index 55f21eec076..839b2d75973 100644 --- a/src/plugins/projectexplorer/ldparser.cpp +++ b/src/plugins/projectexplorer/ldparser.cpp @@ -106,8 +106,10 @@ void LdParser::stdError(const QString &line) if (description.startsWith(QLatin1String("At global scope")) || description.startsWith(QLatin1String("At top level")) || description.startsWith(QLatin1String("instantiated from ")) || - description.startsWith(QLatin1String("In "))) + description.startsWith(QLatin1String("In ")) || + description.startsWith(QLatin1String("first defined here"))) { task.type = Task::Unknown; + } if (description.startsWith(QLatin1String("warning: "), Qt::CaseInsensitive)) { task.type = Task::Warning; task.description = description.mid(9);