Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 47915 - Parser does not recognize defined symbols from the projects property page
Summary: Parser does not recognize defined symbols from the projects property page
Status: RESOLVED DUPLICATE of bug 47235
Alias: None
Product: CDT
Classification: Tools
Component: cdt-parser (show other bugs)
Version: 1.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: John Camelon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 14:57 EST by Christian Hofbauer CLA
Modified: 2003-12-03 11:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hofbauer CLA 2003-12-02 14:57:05 EST
When I try to parse my C++ project files, which are prepared for
AUTOCONF/AUTMAKE build with various define directives, the parser fails to
recognize these directives, even if they are declared in the projects property page.

example

#ifdef HAVE_NAMESPACES
namespace XY
{
#endif
 
 ...

#ifdef HAVE_NAMESPACES
}
#endif

Effect: The namespace is not displayed in the Outline/Navigator views, but if I
put a

#define HAVE_NAMESPACES

befor the code it is recognized in the Outline/Navigator view
Comment 1 John Camelon CLA 2003-12-03 11:19:21 EST

*** This bug has been marked as a duplicate of 47235 ***