Git Product home page Git Product logo

Comments (6)

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

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

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

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

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

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

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.