Skip to content
Snippets Groups Projects
Commit 794ea514 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

LdParser: Do not consider "first defined here" as an error


Change-Id: I01b27cd12776e22a5b52ceae4c89a4cd567c69ed
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 9744c545
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment