[m-rev.] diff: fix stdlib compilation in hlc grades

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Oct 10 01:31:05 AEDT 2011


Branches: main

Fix standard library compilation in hlc grades.

library/par_builtin.m:
 	Conform to the recent change in the argument types of
 	lc_wait_free_slot/2.

Julien.

Index: library/par_builtin.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/par_builtin.m,v
retrieving revision 1.32
diff -u -r1.32 par_builtin.m
--- library/par_builtin.m	9 Oct 2011 09:56:20 -0000	1.32
+++ library/par_builtin.m	9 Oct 2011 14:28:09 -0000
@@ -327,7 +327,7 @@
  }

  void MR_CALL
-mercury__par_builtin__lc_wait_free_slot_2_p_0(MR_Box lc, MR_Box *lcs)
+mercury__par_builtin__lc_wait_free_slot_2_p_0(MR_Box lc, MR_Integer *slot)
  {
      MR_fatal_error(""lc_wait_free_slot is unavailable with --highlevel-code"");
  }

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list