[m-rev.] diff: MR_isnan bool bug fix

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Nov 30 03:11:12 AEDT 2002


Estimated hours taken: 0.25
Branches: main

Fix a bug that broke the stage 1 build with lcc in grade hlc.gc.

runtime/mercury_float.h:
	Add a missing #include of mercury_std.h, needed for MR_bool.

Workspace: /home/ceres/fjh/mercury
Index: runtime/mercury_float.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_float.h,v
retrieving revision 1.17
diff -u -d -r1.17 mercury_float.h
--- runtime/mercury_float.h	29 Nov 2002 13:50:59 -0000	1.17
+++ runtime/mercury_float.h	29 Nov 2002 16:08:44 -0000
@@ -11,6 +11,7 @@
 
 #include "mercury_conf.h"	/* for MR_BOXED_FLOAT, MR_CONSERVATIVE_GC */
 #include "mercury_types.h"	/* for `MR_Word' */
+#include "mercury_std.h"	/* for `MR_bool' */
 
 #ifdef MR_USE_SINGLE_PREC_FLOAT
   typedef float MR_Float;

-- 
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