Comments (6)
we've got the same problem. do you find any solutions?
Original comment by [email protected]
on 10 Jun 2013 at 12:51
from cppcheclipse.
Not yet, but I haven't really had time to pursue it more.
Are you also using a different directory for the workspace vs. the sandbox?
Original comment by [email protected]
on 10 Jun 2013 at 1:05
from cppcheclipse.
In the console log provided above I only see two errors
src/RCI/arch/linux/common/NormalError.cpp;13;style;unusedFunction;The function
'InitLibraryLoader' is never used.
;;information;missingInclude;Cppcheck cannot find all the include files (use
--check-config for details)
The first one should appear on the correct file. The latter one is generic and
therefore only appears on the project level. Can you try to provide an example
workspace, where this error occurs?
Original comment by [email protected]
on 10 Jun 2013 at 1:21
from cppcheclipse.
The first error does NOT show the file in the plug-in - that's rather the point
of this bug.
I've not had the time to try to trivialize this issue, but my suspicion is that
the plug-in is assuming the code resides under the workspace directory. In this
case, the Eclipse workspace directory is different from the source code sandbox
directory (to keep the version control system from considering all the Eclipse
control files).
My conjecture is that the plug-in does not handle the case where the sandbox
and the workspace are different.
Original comment by [email protected]
on 10 Jun 2013 at 1:25
from cppcheclipse.
The first error is not file related. Please open a bug report at cppcheck
(http://sourceforge.net/apps/trac/cppcheck), if you want to have a different
behaviour here. Even with the CLI you will never have a dedicated filename for
this error. You see exactly the output of the CLI in the console, and you see
that the filename is not visible here.
Original comment by [email protected]
on 10 Jun 2013 at 1:28
- Changed state: Invalid
from cppcheclipse.
WHAT? HOW is this invalid?
cppcheck is correctly emitting the file name of the error
(src/RCI/arch/linux/common/NormalError.cpp).
The plug in does NOT show that file, or allow the error as shown in the plug-in
to access the file.
How is that cppcheck's fault? cppcheck is emitting the file name, it is the
plug-in that is not acting on that name!
Original comment by [email protected]
on 10 Jun 2013 at 2:22
from cppcheclipse.
Related Issues (20)
- Cannot install cppcheclipse 0.98 on Eclipse Helios HOT 3
- cppcheckclipse_0.9.8.zip is ignored in dropins folder HOT 2
- NullPointerException running cppcheck HOT 4
- Not expanding variables ${name} HOT 1
- Can't include files not in workspace directory HOT 7
- cppcheclipse uses file names on command-line (instead of from file with --file-list) which limits the amount of files that can be used as input HOT 12
- Errors disappear when compiling multiple projects HOT 1
- Add suppressions for entire directories HOT 3
- cppcheclipse produce no output in the problems tab HOT 4
- can't configure wrapper script for cppcheck in preferences HOT 3
- cppcheclipse fails to check when C++ 03 is specified. HOT 4
- Could not initialize cppcheck with Eclipse Kepler, OSX, SUbversion HOT 5
- Error reading filename of appendages HOT 1
- cppcheck option not showing in Eclipse->P HOT 2
- template flag is hard-coded, can't change to 'gcc' HOT 2
- parse error, not problems reported HOT 3
- Creating xml output file doesn't work HOT 1
- Source files and paths not displaying HOT 4
- Null Pointer For Non-Existent Path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppcheclipse.