This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc error
- From: Linux <linux at gateway dot ege dot edu dot tr>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 29 Jul 2002 13:46:03 +0000 (UTC)
- Subject: gcc error
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