[m-rev.] trivial diff: fix clpr gcc warnings

Simon Taylor stayl at cs.mu.OZ.AU
Thu Mar 14 15:41:38 AEDT 2002


Estimated hours taken: 0.1
Branches: main

clpr/Mmakefile:
	Define MR_NO_BACKWARDS_COMPAT to avoid warnings
	about `bool' being redefined.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/clpr/Mmakefile,v
retrieving revision 1.22
diff -u -u -r1.22 Mmakefile
--- Mmakefile	17 May 2001 07:44:53 -0000	1.22
+++ Mmakefile	14 Mar 2002 04:28:31 -0000
@@ -31,7 +31,7 @@
 
 # The CLP(R) header clpr/lib.h is missing some prototypes,
 # so we need to disable some warnings.
-CFLAGS += -Wno-strict-prototypes
+CFLAGS += -Wno-strict-prototypes -DMR_NO_BACKWARDS_COMPAT
 
 # We need to make sure that the CLP(R) library gets initialized
 C2INITARGS = cfloat.c
--------------------------------------------------------------------------
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