iostream.cc:417: `_pthread_cleanup_pop_restore' undeclared

Felix von Leitner leitner@amdiv.de
Mon Jul 13 05:29:00 GMT 1998


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




More information about the Gcc-bugs mailing list