Fix path separators for missing include files-message.

This commit is contained in:
Kimmo Varis 2010-07-21 17:00:12 +03:00
parent 9b0851ed25
commit b4d55d8e65
1 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#include "tokenize.h"
#include "token.h"
#include "filelister.h"
#include "path.h"
#include <algorithm>
#include <stdexcept>
@ -1446,7 +1447,8 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filePath
{
if (headerType == UserHeader && _errorLogger && _settings && _settings->_verbose)
{
_errorLogger->reportOut("Include file: \"" + filename + "\" not found.");
std::string fixedpath = Path::toNativeSeparators(filename);
_errorLogger->reportOut("Include file: \"" + fixedpath + "\" not found.");
}
}
}