change severity for 'unknown macro' to error for now.

This commit is contained in:
Daniel Marjamäki 2018-11-13 21:08:45 +01:00
parent 152be6df63
commit d97851b9db
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
locationList.push_back(loc);
ErrorLogger::ErrorMessage errmsg(locationList,
mTokenizer.list.getSourceFilePath(),
e.type == InternalError::UNKNOWN_MACRO ? Severity::information : Severity::error,
Severity::error,
e.errorMessage,
e.id,
false);