This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs compile error in libio with latest glibc
- To: egcs-bugs at cygnus dot com
- Subject: egcs compile error in libio with latest glibc
- From: Felix von Leitner <leitner at amdiv dot de>
- Date: Mon, 29 Jun 1998 16:53:33 +0200
The latest egcs does not want to compile against the latest glibc,
because it uses __P in the libio headers. I don't understand why,
becuase these headers are compiled only with egcs anyway. Now, glibc
declares __P as
#define __P(args) args throw ()
if it detects egcs in C++ mode.
This fails horribly on declarations of function pointers.
I suggest removing the __P() stuff from the libio headers.
Felix