[m-dev.] for review: .par grade fix for mgnuc
Thomas Conway
conway at cs.mu.OZ.AU
Fri Aug 27 14:46:35 AEST 1999
Hi
For anyone to review...
--
Thomas Conway )O+ Every sword has two edges.
Mercurian <conway at cs.mu.oz.au>
scripts/mgnuc.in:
Under Linux, don't use -ansi in thread safe grades, because if
you do, you'll get parse errors in pthread.h where it uses
sigset_t.
cvs diff: Diffing .
Index: mgnuc.in
===================================================================
RCS file: /home/staff/zs/imp/mercury/scripts/mgnuc.in,v
retrieving revision 1.64
diff -u -r1.64 mgnuc.in
--- mgnuc.in 1999/06/01 09:46:18 1.64
+++ mgnuc.in 1999/08/27 04:44:09
@@ -275,12 +275,19 @@
true)
case $FULLARCH in
*solaris*) THREAD_OPTS="-DMR_THREAD_SAFE -DSOLARIS_THREADS \
- -D_SOLARIS_PTHREADS -D_REENTRANT";;
+ -D_SOLARIS_PTHREADS -D_REENTRANT"
+ ;;
*linux*) THREAD_OPTS="-DMR_THREAD_SAFE -DLINUX_THREADS \
- -D_THREAD_SAFE -D_REENTRANT";;
+ -D_THREAD_SAFE -D_REENTRANT"
+ # Don't use -ansi under Linux or we get
+ # parse errors at sigset_t in the pthreads
+ # headers.
+ ANSI_OPTS=""
+ ;;
- *) THREAD_OPTS="" ;;
+ *) THREAD_OPTS=""
+ ;;
esac ;;
false) THREAD_OPTS="" ;;
esac
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list