ocamlbuild: add a warn_error(X) parametrized tag to fully deprecate warn_%c, warn_error_%c

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14138 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Gabriel Scherer 2013-09-15 11:36:31 +00:00
parent 23803c2515
commit 955877a316
1 changed files with 4 additions and 1 deletions

View File

@ -605,7 +605,10 @@ let () =
pflag ["ocaml"; "infer_interface"] "pp"
(fun param -> S [A "-pp"; A param]);
pflag ["ocaml";"compile";] "warn"
(fun param -> S [A "-w"; A param])
(fun param -> S [A "-w"; A param]);
pflag ["ocaml";"compile";] "warn_error"
(fun param -> S [A "-warn-error"; A param]);
()
let camlp4_flags camlp4s =
List.iter begin fun camlp4 ->