On 8 Mar, 2006, at 0:13, Fran wrote:
Hello,
When I try to compile a program with GCC a error like this is printed:
error: two or more data types in declaration of `IP'
error: duplicate `typedef'
if I erase this declaration another declaration is a error:
/usr/lib/gcc/i386-redhat-linux/3.4.3/include/stddef.h:213: error:
two or more data types in declaration of `size_t'
/usr/lib/gcc/i386-redhat-linux/3.4.3/include/stddef.h:213: error:
duplicate `typedef'
I can not locate the cause of error, anyone known how to locate the
error? Any option of GCC to trace it?
The error is probably before the 'IP' declaration, something like you
forgot a semicolon. Try posting that line with some context.