diff --git a/src/plugins/projectexplorer/ldparser.cpp b/src/plugins/projectexplorer/ldparser.cpp index 55f21eec076ed17bddaca752d84c09e736663cdc..839b2d75973bdaaba3003d678a13314847df37d0 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);