gcc error
Linux
linux@gateway.ege.edu.tr
Mon Jul 29 05:12:00 GMT 2002
Hi List ,
I have a problem with gcc ,
when I am trying to compile simple C file with headers errors
are generated....
gateway:/home/users/shahin# gcc -o myC myC.c
In file included from /usr/include/stdio.h:65,
from myC.c:1:
/usr/include/libio.h:263: parse error before `size_t'
/usr/include/libio.h:272: parse error before `size_t'
/usr/include/libio.h:368: parse error before `_IO_sgetn'
/usr/include/libio.h:368: parse error before `size_t'
/usr/include/libio.h:368: warning: data definition has no type or storage
class
In file included from myC.c:1:
/usr/include/stdio.h:179: parse error before `__attribute_malloc__'
/usr/include/stdio.h:179: warning: data definition has no type or storage
class
/usr/include/stdio.h:259: parse error before `size_t'
/usr/include/stdio.h:265: parse error before `size_t'
/usr/include/stdio.h:293: parse error before `size_t'
/usr/include/stdio.h:297: parse error before `size_t'
/usr/include/stdio.h:459: parse error before `fread'
/usr/include/stdio.h:459: parse error before `size_t'
/usr/include/stdio.h:460: warning: data definition has no type or storage
class
/usr/include/stdio.h:462: parse error before `fwrite'
/usr/include/stdio.h:462: parse error before `size_t'
/usr/include/stdio.h:463: warning: data definition has no type or storage
class
/usr/include/stdio.h:467: parse error before `fread_unlocked'
/usr/include/stdio.h:467: parse error before `size_t'
/usr/include/stdio.h:468: warning: data definition has no type or storage
class
/usr/include/stdio.h:469: parse error before `fwrite_unlocked'
/usr/include/stdio.h:469: parse error before `size_t'
/usr/include/stdio.h:470: warning: data definition has no type or storage
class
O/S debian
kernel 2.2.15
gcc 2.95
And I have installed libc6-dev
Thanks
Shahin
More information about the Gcc-help
mailing list