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

MSVC: Normalize file path for warnings


MSVC uses lowercase file names for some warnings (e.g. C4715)

Change-Id: If149c4c8e3bf9aa79624d9bc5fd5af22289f2929
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 7ff6dcab
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "msvcparser.h" #include "msvcparser.h"
#include "projectexplorerconstants.h" #include "projectexplorerconstants.h"
#include <utils/winutils.h>
static const char FILE_POS_PATTERN[] = "(cl|LINK|.+) : "; static const char FILE_POS_PATTERN[] = "(cl|LINK|.+) : ";
static const char ERROR_PATTERN[] = "[A-Z]+\\d\\d\\d\\d ?:"; static const char ERROR_PATTERN[] = "[A-Z]+\\d\\d\\d\\d ?:";
...@@ -53,7 +54,8 @@ static QPair<Utils::FileName, int> parseFileName(const QString &input) ...@@ -53,7 +54,8 @@ static QPair<Utils::FileName, int> parseFileName(const QString &input)
} }
} }
} }
return qMakePair(Utils::FileName::fromUserInput(fileName), linenumber); return qMakePair(Utils::FileName::fromUserInput(Utils::normalizePathName(fileName)),
linenumber);
} }
using namespace ProjectExplorer; using namespace ProjectExplorer;
......
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