[m-rev.] diff: don't pass -DMR_NO_BACKWARDS_COMPAT

Fergus Henderson fjh at cs.mu.OZ.AU
Mon May 19 17:52:45 AEST 2003


Estimated hours taken: 0.25
Branches: main

compiler/Mercury.options:
	Don't pass `-DMR_NO_BACKWARDS_COMPAT' for gcc.c and mlds_to_c.c;
	it's inconsistent to do this only for those files, and it breaks
	bootstrapping of the change which removed MR_STATIC().

Workspace: /home/ceres/fjh/mercury
Index: compiler/Mercury.options
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mercury.options,v
retrieving revision 1.4
diff -u -d -r1.4 Mercury.options
--- compiler/Mercury.options	9 May 2003 08:34:52 -0000	1.4
+++ compiler/Mercury.options	19 May 2003 07:47:45 -0000
@@ -33,8 +33,7 @@
 
 # The c_code in the module gcc.m needs the header files from the GNU C
 # distribution.
-CFLAGS-gcc =	-DMR_NO_BACKWARDS_COMPAT \
-		-DIN_GCC -DHAVE_CONFIG_H \
+CFLAGS-gcc =	-DIN_GCC -DHAVE_CONFIG_H \
 		-I. \
 		-I$(GCC_SRC_DIR)/gcc \
 		-I$(GCC_SRC_DIR)/gcc/mercury \

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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