Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324272

Summary: Call hierarchy cannot find it's callers with multiple files with include
Product: [Tools] CDT Reporter: Heine Broers <h.broers>
Component: cdt-source-navAssignee: Project Inbox <cdt-source-nav-inbox>
Status: RESOLVED INVALID QA Contact: Markus Schorn <mschorn.eclipse>
Severity: enhancement    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Heine Broers CLA 2010-09-02 03:22:02 EDT
I have a big project with more than 77000 lines of code
1 main module mod_landy.c
and inside that mod_landy.c much #include "landy_------.c"

And in mod_landy.c itself is code with #define WITH_----
And in the other files #ifdef WITH_-----

Problem is that the Call Hierarchy is partially working. I use "search through files" to search for the callers as solution.
Call Hierarchy let me only see 1 line with the function itself.

I switched from MicroSoft Visual C++ Express edition 2008 to eclipse, because in that indexer bugs occurred.

The code is only c and not c++, I use it for a big lighttpd module and so it is not split up in objects to make it easier to be ported to my crosscompiler (for Intel -> ARM9)

Best Regards,
Heine Broers Bsc. Bed.
h.broers@landustrie.nl

-- Configuration Details --
Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.6.0.v20100602-9gF78GpqFt6trOGhL60z0oEx3fz-JKNwxPY
Comment 1 Prakash Rangaraj CLA 2010-09-02 03:36:00 EDT
Moving to CDT
Comment 2 Markus Schorn CLA 2010-09-06 05:49:26 EDT
Please provide a small sample project that illustrates the problem and reopen the bug.