X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml.git;a=blobdiff_plain;f=ocaml-unused-var-warning.patch;h=4bfe85bafe084d34738f62c788e785c664eab6e9;hp=2e41c9b26b16a950a4c4b203a27668a08a48cdbc;hb=a08820ee6a138b06124c3a76628ac9ec11b778b2;hpb=1372bfb5c8df9a3b97a57528e85cff079a1314e4 diff --git a/ocaml-unused-var-warning.patch b/ocaml-unused-var-warning.patch index 2e41c9b..4bfe85b 100644 --- a/ocaml-unused-var-warning.patch +++ b/ocaml-unused-var-warning.patch @@ -17,15 +17,14 @@ diff -ur ocaml-3.07beta2/Makefile ocaml-3.07beta2-/Makefile toplevel/genprintval.cmo toplevel/toploop.cmo \ toplevel/trace.cmo toplevel/topdirs.cmo toplevel/topmain.cmo -diff -ur ocaml-3.07beta2/driver/compile.ml ocaml-3.07beta2-/driver/compile.ml ---- ocaml-3.07beta2/driver/compile.ml 2003-07-25 14:17:18.000000000 +0200 -+++ ocaml-3.07beta2-/driver/compile.ml 2003-08-28 17:29:35.000000000 +0200 +--- ocaml-3.08.0/driver/compile.ml.orig 2004-06-13 14:46:41.000000000 +0200 ++++ ocaml-3.08.0/driver/compile.ml 2004-07-21 23:25:27.788583360 +0200 @@ -99,6 +99,7 @@ try Pparse.file ppf inputfile Parse.implementation ast_impl_magic_number ++ print_if ppf Clflags.dump_parsetree Printast.implementation + ++ Warn_unused_variables.doit ppf - ++ Typemod.type_implementation sourcefile prefixname modulename env + ++ Typemod.type_implementation sourcefile outputprefix modulename env ++ Translmod.transl_implementation modulename ++ print_if ppf Clflags.dump_rawlambda Printlambda.lambda diff -ur ocaml-3.07beta2/driver/main_args.ml ocaml-3.07beta2-/driver/main_args.ml