[m-rev.] trivial diff: fixes nightly builds on saturn and jupiter

Julien Fischer juliensf at csse.unimelb.edu.au
Sat Dec 16 23:37:48 AEDT 2006


Estimated hours taken: 0.1
Branches: main

compiler/options_file.m:
 	Avoid ambiguity warnings when compiling with
 	--intermodule-optimization.

 	s/__/./ in a spot.

Julien.

Index: options_file.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/compiler/options_file.m,v
retrieving revision 1.42
diff -u -r1.42 options_file.m
--- options_file.m	15 Dec 2006 03:57:25 -0000	1.42
+++ options_file.m	16 Dec 2006 12:35:00 -0000
@@ -1072,7 +1072,7 @@
          ( FlagsVar = ml_libs ->
              BadLibs = list.filter(
                          (pred(LibFlag::in) is semidet :-
-                                \+ string__prefix(LibFlag, "-l")
+                                \+ string.prefix(LibFlag, "-l")

                          ), V),
              (
@@ -1085,7 +1085,8 @@
                              [always([words("Error: MLLIBS must contain only"),
                                  words("`-l' options, found") |
                                  list_to_pieces(
-                                    map(func(Lib) = add_quotes(Lib), BadLibs))]
+                                    list.map(func(Lib) =
+                                        add_quotes(Lib), BadLibs))]
                                  ++ [suffix(".")]
                              )]
                          )]

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