Bug 60763 - Problem reporter errors on C function pointer declarations
Summary: Problem reporter errors on C function pointer declarations
Status: RESOLVED DUPLICATE of bug 57156
Alias: None
Product: kdevelop
Classification: Applications
Component: Problem reporter (show other bugs)
Version: git master
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-04 21:18 UTC by Jon Smirl
Modified: 2007-09-11 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2003-07-04 21:18:35 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

I get a problem reporter error on the line with *emit. But I don't get one on *check_tex_sizes. The typedefs are coming from an include file that I'm not sure the problem reporter knows how to find.

static struct {
   void                (*emit)( GLcontext *, GLuint, GLuint, void *, GLuint );
   interp_func		interp;
   copy_pv_func	        copy_pv;
   GLboolean           (*check_tex_sizes)( GLcontext *ctx );
   GLuint               vertex_size;
   GLuint               vertex_stride_shift;
   GLuint               vertex_format;
} setup_tab[R200_MAX_SETUP];

This may also be related to only declaring types without variable names.
Comment 1 Amilcar do Carmo Lucas 2003-07-04 22:29:02 UTC
'emit' is considered as keyword 
 
Comment 2 Jon Smirl 2003-07-04 22:43:29 UTC
This is in C code, emit is not a keywork in C.
Comment 3 Jon Smirl 2003-07-05 00:07:14 UTC
This is in C code, emit is not a keywork in C. 
Comment 4 Thiago Macieira 2003-07-05 01:20:46 UTC
Indeed, it no keyword at all. But it's reserved by the Qt headers for signal emission. 
 
By the way, the developer marked this as WONTFIX, so, unless you're willing to provide a fix 
yourself, you should let it stay. 
Comment 5 Jens Dagerbo 2006-04-18 22:17:18 UTC
Dupe

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