What steps will reproduce the problem?
1. Built cppcheck (had pcre installed)
2. Moved binary to /usr/bin
3. Specified binary path in eclipse
4. Selected a cpp, very simple one and run cppcheck
5. Error
This is the output from console:
== Running cppcheck at 2/11/11 9:50 AM ==
Command line: /usr/bin/cppcheck --template
{file};{line};{severity};{id};{message} --enable=style,unusedFunctions
eu/sofia/kpi/common/AbstractThread/AbstractThread.cpp
cppcheck: there is no --enable parameter with the name 'unusedFunctions'
cppcheck: error: could not find or open any of the paths given.
This is the error log trace:
Error checking AbstractThread.cpp
Could not run cppcheck
Error executing '/usr/bin/cppcheck --template
{file};{line};{severity};{id};{message} --enable=style,unusedFunctions
eu/sofia/kpi/common/AbstractThread/AbstractThread.cpp' due to error: Process
exited with an error: 1(Exit value: 1)Maybe more information is available in
the console view.
This are the contents of my cpp:
/**
* @file AbstractThread.cpp
*
* @brief Implementation of the AbstractThread constructor
*
* @date 02/12/2010
*
* @author Alejandro Villamarin
*/
#include "../AbstractThread.h"
using namespace eu_sofia_kpi_common;
AbstractThread::AbstractThread()
{}
What I'm doing wrong??
Regards,
Alex
Original issue reported on code.google.com by alejandr...@gmail.com on 11 Feb 2011 at 8:58
Original issue reported on code.google.com by
alejandr...@gmail.com
on 11 Feb 2011 at 8:58