Git Product home page Git Product logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
[deleted comment]

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
[deleted comment]

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 26 Dec 2013 at 3:36

  • Changed state: Accepted
  • Added labels: Milestone-1.0.0

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
This issue was closed by revision r298.

Original comment by [email protected] on 26 Dec 2013 at 3:38

  • Changed state: Fixed

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
This issue was closed by revision r301.

Original comment by [email protected] on 26 Dec 2013 at 4:51

from cppcheclipse.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.