This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs compile error in libio with latest glibc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]