| Summary: | Problem reporter errors on C function pointer declarations | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Jon Smirl <jonsmirl> |
| Component: | Problem reporter | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | esigra |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
'emit' is considered as keyword This is in C code, emit is not a keywork in C. This is in C code, emit is not a keywork in C. 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. |
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.