Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Does not work with linked source folders #20

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 3 comments
Closed

Does not work with linked source folders #20

GoogleCodeExporter opened this issue Jul 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

If I run cppcheck on a linked source folder or if I run cppcheck on a cpp file 
in a linked folder it prints the following message:

Command line: C:\CodingXP\cppcheck\cppcheck.exe --template 
{file};{line};{severity};{id};{message} -j 1 
vision\acquisition\AsyncVideoCaptureDevice.cpp
cppcheck: No C or C++ source files found.

The file AsyncVideoCaptureDevice.cpp is located in a linked folder. That means, 
I have a linked resource (Preferences -> Workspace -> Linked Resources) Name: 
cetoni_repository Value: D:\CodingXP\cetoni_repository

In the eclipse project I linked to the folder 
cetoni_repository\usl\env\qt\vision. If I right click onto the linked folder 
and select "Properties", I can see the following:

Path: /QtVision/vision
Type: Linked Folder
Location: cetoni_repository\usl\env\qt\vision
Resolved Location: D:\CodingXP\cetoni_repository\usl\env\qt\vision

The plugin passes the relative project path 
vision\acquisition\AsyncVideoCaptureDevice.cpp to cppcheck instead of the 
resolved path
D:\CodingXP\cetoni_repository\usl\env\qt\vision\acquisition\AsyncVideoCaptureDev
ice.cpp

Original issue reported on code.google.com by uwe_kind...@web.de on 21 Jun 2010 at 12:44

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant