Comments (11)
I'm having the same problem.
Eclipse IDE for C/C++ Developers Build id: 20090920-1017
cppcheclipse: 0.9.0.200910182220
Cppcheck Version 1.37
Windows XP Pro SP3
Original comment by [email protected]
on 20 Oct 2009 at 11:47
from cppcheclipse.
Do you see any output in the console window?
Original comment by [email protected]
on 22 Oct 2009 at 10:31
from cppcheclipse.
Only
Executing 'home/$USERNAME/cppcheck-1.37/cppcheck --version'
Duration 140ms
Cppcheck 1.37
Pushing the Apply button stops every action of Eclipse...
Original comment by [email protected]
on 22 Oct 2009 at 12:38
from cppcheclipse.
I could reproduce one issue with spaces in filenames under Windows. But I guess
this
is the same error. I will try to come up with a hotfix today. Thanks for the
report.
Original comment by [email protected]
on 22 Oct 2009 at 12:52
- Changed state: Started
from cppcheclipse.
Turns out, that it has nothing to do with the path itself but with a limitation
of
Runtime.exec(). The javadoc states:
Because some native platforms only provide limited buffer size for standard
input and
output streams, failure to promptly write the input stream or read the output
stream
of the subprocess may cause the subprocess to block, and even deadlock.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html
Seems that under Mac OS this issue doesn't occur, while under Windows / Linux
we have
exactly the described problem.
Original comment by [email protected]
on 22 Oct 2009 at 1:25
from cppcheclipse.
Fixed with 0.9.1. Now using Apache Commons Exec to execute cppchecker which
should
overcome the limitations of pure Runtime.exec().
Original comment by [email protected]
on 22 Oct 2009 at 6:37
- Changed state: Done
from cppcheclipse.
Thanks for fixing it that fast... !
And thanks for keeping us in the loop what went wrong. It is a quite common
problem.
I'm planning as well to implement plugins in order to integrate command line
tools.
Original comment by [email protected]
on 22 Oct 2009 at 6:45
from cppcheclipse.
Original comment by [email protected]
on 25 Oct 2009 at 1:15
- Added labels: Milestone-0.9.1
from cppcheclipse.
I can't find an entry of the new version (0.9.1) in the Eclipse update dialog
(http://cppcheclipse.googlecode.com/svn/update/site.xml). I only see the old
version.
What do i have to do in order to get the version installed?
Original comment by [email protected]
on 26 Oct 2009 at 8:50
from cppcheclipse.
Just check for an update in Eclipse via "Check For Updates". Sometimes Eclipse
caches
old data, so a res†art of Eclipse may be necessary. Don't use the menu command
"Install New Software".
Original comment by [email protected]
on 26 Oct 2009 at 8:57
from cppcheclipse.
Thanks works for me! Problem report can be closed.
Original comment by [email protected]
on 26 Oct 2009 at 10:55
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
- File not included in the Problems pane HOT 6
- 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 6
- 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.