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

Source files and paths not displaying #70

Open
GoogleCodeExporter opened this issue Jul 15, 2015 · 4 comments
Open

Source files and paths not displaying #70

GoogleCodeExporter opened this issue Jul 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Running cppcheclipse with Luna no longer displays the name and path of the 
source module, instead it just displays the name of the project and no path. It 
does however display the line number. Also, it does not show markers in the 
code anymore for errors or warnings. However, the ones from Eclipse still show 
up.

Attached is a screenshot of the problems pane, and below is a sample output of 
the console:

Checking back\ADDSHIFT.CPP...
49/1011 files checked 1% done
Checking back\ADJSHIFT.CPP...
UTILS\upcconv.cpp;111;error;syntaxError;Invalid number of character (() when 
these macros are defined: ''.
Checking UTILS\upcconv.cpp: MSVC...
UTILS\PDIEXP.CPP;1352;error;mismatchAllocDealloc;Mismatching allocation and 
deallocation: szRead
50/1011 files checked 1% done
Checking back\AccountsReceivableSetup.cpp...
UTILS\recov.cpp;521;error;uninitvar;Uninitialized variable: szCompany
Checking UTILS\recov.cpp: MSVC...
UTILS\upcconv.cpp;111;error;syntaxError;Invalid number of character (() when 
these macros are defined: 'MSVC'.
51/1011 files checked 1% done
Checking back\BCRINDW.CPP...
Checking UTILS\PDIEXP.CPP: MSVC...
UTILS\hdconv.cpp;239;error;syntaxError;Invalid number of character (() when 
these macros are defined: ''.
Checking UTILS\hdconv.cpp: MSVC...
52/1011 files checked 1% done
Checking back\BGCMESS.CPP...
Checking UTILS\upcclean.cpp: MSVC...
53/1011 files checked 1% done

Versions:
cppcheclipse: 1.0.0
cppcheck: 1.68
Eclipe: 4.4.2
Java: 7.0.550
OS: Windows 7 x64

Original issue reported on code.google.com by [email protected] on 20 Mar 2015 at 12:34

Attachments:

@GoogleCodeExporter
Copy link
Author

After looking deeper into this issue, it appears that it's related to resource 
filters. If you have any resource filters configured, the names and paths of 
the files will not be shown, but if you disable them, everything shows fine. 
Not sure why this is happening, but I hope that helps.

Original comment by [email protected] on 25 Mar 2015 at 7:43

@GoogleCodeExporter
Copy link
Author

Looking even deeper, it appears to be on "include only" filters, or "exclude 
all but" filter groups

Original comment by [email protected] on 30 Mar 2015 at 4:37

@GoogleCodeExporter
Copy link
Author

Can you describe where exactly you set the filter (project explorer, problems 
view?) and how you restricted that? Also it would be good to see a working 
filter example (one where file location is still exposed). Also it would be 
interesting to know the file locations (source files relative to workspace). So 
far I was unable to reproduce.

Original comment by [email protected] on 30 Mar 2015 at 9:16

@GoogleCodeExporter
Copy link
Author

I've attached screenshots of a non-working and working scenario for a simple 
one-file test project.

Please let me know if you need more info.

Original comment by [email protected] on 5 Apr 2015 at 2:43

Attachments:

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