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]

iostream.cc:417: `_pthread_cleanup_pop_restore' undeclared


Linux/Alpha with glibc snapshot.
This patch is applied.
Please note that simply using -D__USE_GNU fails because glibc is so
smart to undefine everything in /usr/include/features.h which is
included by _G_config.h.  Sigh.

Felix

--- libio/libio.h       Mon Jul 13 14:25:35 1998
+++ libio/libio.h.fefe  Mon Jul 13 14:24:36 1998
@@ -160,6 +160,7 @@
 struct _IO_jump_t;  struct _IO_FILE;

 /* Handle lock.  */
+#define __USE_GNU
 #ifdef _IO_MTSAFE_IO
 # if defined __GLIBC__ && __GLIBC__ >= 2
 #  if __GLIBC_MINOR__ > 0



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