This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/9330] [alpha-osf]small alphaev56-dec-osf5.1 --enable-threads=posix problem
- From: "kvo--gcc at seagha dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2003 07:08:01 -0000
- Subject: [Bug bootstrap/9330] [alpha-osf]small alphaev56-dec-osf5.1 --enable-threads=posix problem
- References: <20030115100600.9330.mengel@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9330
------- Additional Comments From kvo--gcc at seagha dot be 2003-09-02 07:07 -------
Using the resolution of this bug together with the following patch to the header
file, makes it work on Tru64 V5.1B:
--- /usr/include/pthread.h 2003-08-26 09:14:10.000000000 +0200
+++ pthread.h 2003-08-26 09:13:22.000000000 +0200
@@ -287,8 +287,7 @@
#elif defined (__INTEL_COMPILER)
# define _PTHREAD_ENV_INTELC
#else
-# define _PTHREAD_ENV_INTELC
-/* # error <pthread.h>: unrecognized compiler. */
+# error <pthread.h>: unrecognized compiler.
#endif
#if defined (VMS) || defined (__VMS) || defined (__vms) || defined (vms)
Tested this on GCC V3.1.1 (alphaev68-dec-osf5.1)