You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1773 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
In ocaml-3.06 we have
let parse = parse_argv Sys.argv;;
In 3.07beta1 we have
let parse l f msg =
current := 0;
try
parse_argv Sys.argv l f msg;
with
| Bad msg -> eprintf "%s" msg; exit 0;
| Help msg -> eprintf "%s" msg; exit 2;
The resetting of Arg.current causes incompatibilities. In particular
Gerd Stolpman's findlib fails as he calls Arg.parse relying on setting
Arg.current.
I'm not saying this is a bug but it is a backward incompatibility and
should be documented.
The text was updated successfully, but these errors were encountered:
The resetting of Arg.current causes incompatibilities. In particular
Gerd Stolpman's findlib fails as he calls Arg.parse relying on setting
Arg.current.
I'm not saying this is a bug but it is a backward incompatibility and
should be documented.
It is a bug, and it is fixed in the working source. Thank you for the
report.
Original bug ID: 1773
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
In ocaml-3.06 we have
let parse = parse_argv Sys.argv;;
In 3.07beta1 we have
let parse l f msg =
current := 0;
try
parse_argv Sys.argv l f msg;
with
| Bad msg -> eprintf "%s" msg; exit 0;
| Help msg -> eprintf "%s" msg; exit 2;
The resetting of Arg.current causes incompatibilities. In particular
Gerd Stolpman's findlib fails as he calls Arg.parse relying on setting
Arg.current.
I'm not saying this is a bug but it is a backward incompatibility and
should be documented.
The text was updated successfully, but these errors were encountered: