[m-rev.] trivial diff: disable --ansi-c with --parallel
Simon Taylor
stayl at cs.mu.OZ.AU
Mon Feb 10 22:23:22 AEDT 2003
Estimated hours taken: 0.25
Branches: main
compiler/handle_options.m:
The pthreads headers on some architectures (Solaris, Linux)
don't work with -ansi.
Index: handle_options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/handle_options.m,v
retrieving revision 1.167
diff -u -u -r1.167 handle_options.m
--- handle_options.m 5 Feb 2003 14:41:12 -0000 1.167
+++ handle_options.m 10 Feb 2003 11:16:05 -0000
@@ -774,6 +774,10 @@
[]
),
+ % The pthreads headers on some architectures (Solaris, Linux)
+ % don't work with -ansi.
+ option_implies(parallel, ansi_c, bool(no)),
+
% --no-reorder-conj implies --no-deforestation,
% --no-constraint-propagation and --no-local-constraint-propagation.
option_neg_implies(reorder_conj, deforestation, bool(no)),
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list