From 75f6013d1386b6eef93639c8b3a17e00e577fbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 20 May 2013 16:19:31 +0200 Subject: [PATCH] Fixed #4755 (buggy --xml reports in 1.59) --- cli/cmdlineparser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 7021dc374..284cc44a6 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -691,6 +691,10 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[]) PrintMessage("cppcheck: unusedFunction check can't be used with '-j' option, so it's disabled."); } + if (_settings->inconclusive && _settings->_xml && _settings->_xml_version == 1U) { + PrintMessage("cppcheck: inconclusive messages will not be shown, because the old xml format is not compatible. It's recommended to use the new xml format (use --xml-version=2)."); + } + if (argc <= 1) _showHelp = true;