ipodipad / cppcheclipse

Automatically exported from code.google.com/p/cppcheclipse
0 stars 0 forks source link

Cppcheck exit(1) #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Duplicate of issue 27.

Original comment by konra...@gmx.de on 16 Feb 2011 at 9:01