This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
iostream.cc:417: `_pthread_cleanup_pop_restore' undeclared
- To: egcs-bugs at cygnus dot com
- Subject: iostream.cc:417: `_pthread_cleanup_pop_restore' undeclared
- From: Felix von Leitner <leitner at amdiv dot de>
- Date: Mon, 13 Jul 1998 14:26:59 +0200
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