diff options
| author | Kathy Gray | 2014-08-13 18:12:46 +0100 |
|---|---|---|
| committer | Kathy Gray | 2014-08-13 18:12:46 +0100 |
| commit | f73f974801c12df01542a8372af6309b83c17d40 (patch) | |
| tree | 9f5f8023834c4f545969a1ed9a8a5e9f7f073c98 | |
| parent | 67fb47fa3fce732be6ae78824ac37e7a641021e8 (diff) | |
Silence some lem warnings in compilation.
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | src/myocamlbuild.ml | 8 |
2 files changed, 10 insertions, 1 deletions
@@ -14,5 +14,8 @@ test: power: $(MAKE) -C src power +test_power_interactive: + $(MAKE) -C src test_power_interactive + clean: $(MAKE) -C src clean diff --git a/src/myocamlbuild.ml b/src/myocamlbuild.ml index 01171838..015aaf0c 100644 --- a/src/myocamlbuild.ml +++ b/src/myocamlbuild.ml @@ -30,7 +30,13 @@ let lem_deps = List.map ((/) "lem_interp") [ let lem_opts = List.fold_right (fun s l -> [A "-i"; P s] @ l) lem_deps [] ;; (* New library magic: *) -let lem_opts = [A "-lib"; P "../lem_interp"] ;; +(* All -wl ignores should be removed if you want to see the pattern compilation, exhaustive, and unused var warnings *) +let lem_opts = [A "-lib"; P "../lem_interp"; + A "-wl_pat_comp"; P "ign"; + A "-wl_pat_exh"; P "ign"; + A "-wl_pat_fail"; P "ign"; + A "-wl_unused_vars"; P "ign"; +] ;; dispatch begin function | After_rules -> |
