Bug 60766

Summary: Problem reporter - processing h files in correct order
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: Problem reporterAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jon Smirl 2003-07-04 21:29:38 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

a.h looks like:

#define TAG(x) r200_##x##_elts
#include <b.h>

#define TAG(x) r200_##x##_elxd
#include <b.h>


b.h looks like:

static void TAG(emit)( GLcontext *ctx,
		       GLuint start, GLuint end,
		       void *dest )
{
}

Problem reporter flags TAG(emit) in b.h with five errors. 

If I put the #define in b.h the errors go away so this as an issue with processing include files in correct order. It's not obvious to me how to fix this.
Comment 1 Amilcar do Carmo Lucas 2003-07-04 22:27:47 UTC
kdevelop doesn't resolve the #include directive
Comment 2 Jesse 2004-04-12 03:35:25 UTC

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