diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 95ac405db..84ec60836 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -2486,7 +2486,7 @@ void CheckOther::unusedLabelError(const Token* tok) void CheckOther::checkEvaluationOrder() { // This checker is not written according to C++11 sequencing rules - if (!_tokenizer->isCPP() || _settings->standards.cpp != Standards::CPP11) + if (_tokenizer->isCPP() && _settings->standards.cpp >= Standards::CPP11) return; const SymbolDatabase *symbolDatabase = _tokenizer->getSymbolDatabase();