This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Compiler error from libio.h & stdio.h
- From: "Poon, Lily" <lily dot poon at hp dot com>
- To: <gcc-bugs at gcc dot gnu dot org>, <bug-gcc at gnu dot org>
- Date: Fri, 8 Jul 2005 13:14:34 -0700
- Subject: Compiler error from libio.h & stdio.h
Please help, I cant figure out why there would be a parse error from a
standard library..
Here is the log:
g++ -c -c -Wall -I. -c -o bkos.o bkos.cpp
In file included from /usr/include/stdio.h:65,
from bkos.cpp:25:
/usr/include/libio.h:457: type specifier omitted for parameter
/usr/include/libio.h:459: type specifier omitted for parameter
In file included from bkos.cpp:25:
/usr/include/stdio.h:285: type specifier omitted for parameter
/usr/include/stdio.h:285: parse error before `)'
/usr/include/stdio.h:287: type specifier omitted for parameter
/usr/include/stdio.h:287: parse error before `)'
/usr/include/stdio.h:291: type specifier omitted for parameter
/usr/include/stdio.h:291: parse error before `)'
/usr/include/stdio.h:300: type specifier omitted for parameter
/usr/include/stdio.h:300: parse error before `)'
make: *** [bkos.o] Error 1
Thanks,
Lily