The display of the message:
'cppcheck: Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this.'
- breaks the integration with eclipse. The CppCheclipse plug-in requires XML output and fails to parse the analysis results due to this message. There is no workable way to add the -platform argument to the invocation of cppcheck in cppcheclipse.
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume the error is written to stdout .. it seems unfortunate if plugins read and parse stdout.. and it also seems unfortunate if the platform can't be configured in cppcheclipse. :-(
we write this information so users will have a chance to adjust their scripts. so there is good reasons to write it.
Last edit: Daniel Marjamäki 2023-12-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The display of the message:
'cppcheck: Windows 64-bit binaries currently default to the 'win64' platform. Starting with Cppcheck 2.13 they will default to 'native' instead. Please specify '--platform=win64' explicitly if you rely on this.'
- breaks the integration with eclipse. The CppCheclipse plug-in requires XML output and fails to parse the analysis results due to this message. There is no workable way to add the -platform argument to the invocation of cppcheck in cppcheclipse.
Any suggestions?
Probably the XML flag needs to also be checked in cmdlineparser.cpp:
if (SHOW_DEF_PLATFORM_MSG && default_platform && !mSettings.quiet)
CppCheck version 2.9 can be used. Does not write illegal XML to the console.
I assume the error is written to stdout .. it seems unfortunate if plugins read and parse stdout.. and it also seems unfortunate if the platform can't be configured in cppcheclipse. :-(
we write this information so users will have a chance to adjust their scripts. so there is good reasons to write it.
Last edit: Daniel Marjamäki 2023-12-22
Cppcheck 2.13 will be released in couple of days.