C
Chris Saunders
I'm getting this error report from my compiler (MSVC++ 7):
c:\Eiffel55\library\cjs\pdf\spec\include\p_intern.h(258) : error C2143:
syntax error : missing ')' before '*'
Here's the code:
struct PDF_s {
/* -------------------------- general stuff ------------------------ */
unsigned long magic; /* poor man's integrity check */
void (*freeproc)(PDF *p, void *mem);
pdc_core *pdc; /* core context */
....
....
};
I removed all code one line after the error line.
The reported error line is:
void (*freeproc)(PDF *p, void *mem);
I am not an expert in C but I believe I have a reasonable understanding
but I cannot see a problem with this line.
Could anyone help?
c:\Eiffel55\library\cjs\pdf\spec\include\p_intern.h(258) : error C2143:
syntax error : missing ')' before '*'
Here's the code:
struct PDF_s {
/* -------------------------- general stuff ------------------------ */
unsigned long magic; /* poor man's integrity check */
void (*freeproc)(PDF *p, void *mem);
pdc_core *pdc; /* core context */
....
....
};
I removed all code one line after the error line.
The reported error line is:
void (*freeproc)(PDF *p, void *mem);
I am not an expert in C but I believe I have a reasonable understanding
but I cannot see a problem with this line.
Could anyone help?