Comments (12)
The null pointer exception from the error log is not really the cause, but
rather a follow up error (it appears because the console cannot be opened
correctly). That issue is already tracked in issue 54. Please provide me with
the full console and error log as the real cause should have been logged before
the null pointer exception.
Original comment by [email protected]
on 17 Feb 2013 at 5:06
from cppcheclipse.
How do I get full console and error log? The real cause is the too long
command-line input.
Original comment by [email protected]
on 17 Feb 2013 at 10:28
from cppcheclipse.
After selecting a directory in the eclipse navigator, then this should be
passed to the executable.
The help information, when using cppcheck from a command line, states:
-->
If a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c,
*.tpp, and *.txx files are checked recursively from the given directory.
<--
However, when starting the executable from within Eclipse selecting a folder
containing >3400 files lists each file individually and issues the error:
-->
CreateProcess error=206, The filename or extension is too long) Maybe more
information is available in the console view.
<--
Original comment by [email protected]
on 27 Jun 2013 at 10:25
from cppcheclipse.
[deleted comment]
from cppcheclipse.
[deleted comment]
from cppcheclipse.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193 and
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425%28v=vs.85%29.as
px for the relevant limits on Windows. It seems to be 32,768 characters.
Original comment by [email protected]
on 26 Dec 2013 at 10:51
from cppcheclipse.
For Unix systems have a look at that table:
http://www.in-ulm.de/~mascheck/various/argmax/.
The workarounds could be:
a) pass complete directories instead of single filenames to cppcheck
b) use a separate file to give the filenames to check
a) has the drawback of also imposing a limit (in case there are a lot of
directories or only some files are relevant within one directory)
b) has the drawback that another file needs to be created before cppcheck is
launched (and afterwards deleted).
Original comment by [email protected]
on 26 Dec 2013 at 10:57
from cppcheclipse.
According to the help file of cppcheck 1.62 the list of files to be checked can
also be provided on the stdin.
Original comment by [email protected]
on 26 Dec 2013 at 11:04
from cppcheclipse.
Original comment by [email protected]
on 26 Dec 2013 at 3:36
- Changed state: Accepted
- Added labels: Milestone-1.0.0
from cppcheclipse.
This issue was closed by revision r298.
Original comment by [email protected]
on 26 Dec 2013 at 3:38
- Changed state: Fixed
from cppcheclipse.
This issue was closed by revision r301.
Original comment by [email protected]
on 26 Dec 2013 at 4:51
from cppcheclipse.
Update: This is already supported with Cppcheck in version 1.56.
Original comment by [email protected]
on 1 Mar 2014 at 9:32
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
- 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 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.