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: 2022 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Aleksey Nogin
Version: 3.07+13 (2004-01-04) from CVS
OS: Red Hat Linux 7.3
Submission from: charter-242-037.caltech.edu (131.215.242.37)
In the current CVS version of OCaml, if a file is preprocessed with camlp4, then
the debugging information (such as the one printed in OCAMLRUNPARAM=b
backtraces) has an empty file name. This used to work correctly in 3.06.
% cat test.ml
let _ = List.nth [] 1;;
% ocamlc -g -custom test.ml
% env OCAMLRUNPARAM=b ./a.out
Fatal error: exception Failure("nth")
Called from file "test.ml", line 1, character 21
% ocamlc -pp camlp4o -g -custom test.ml
% env OCAMLRUNPARAM=b ./a.out
Fatal error: exception Failure("nth")
Called from file "", line 1, character 21
% ocamlc -v
The Objective Caml compiler, version 3.07+13 (2004-01-04)
Standard library directory: /usr/lib/ocaml
% uname -a
Linux tehachapi.cs.caltech.edu 2.4.20-24.7 #1 Mon Dec 1 13:35:11 EST 2003 i686
unknown
% cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
The text was updated successfully, but these errors were encountered:
Original bug ID: 2022
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Aleksey Nogin
Version: 3.07+13 (2004-01-04) from CVS
OS: Red Hat Linux 7.3
Submission from: charter-242-037.caltech.edu (131.215.242.37)
In the current CVS version of OCaml, if a file is preprocessed with camlp4, then
the debugging information (such as the one printed in OCAMLRUNPARAM=b
backtraces) has an empty file name. This used to work correctly in 3.06.
% cat test.ml
let _ = List.nth [] 1;;
% ocamlc -g -custom test.ml
% env OCAMLRUNPARAM=b ./a.out
Fatal error: exception Failure("nth")
Called from file "test.ml", line 1, character 21
% ocamlc -pp camlp4o -g -custom test.ml
% env OCAMLRUNPARAM=b ./a.out
Fatal error: exception Failure("nth")
Called from file "", line 1, character 21
% ocamlc -v
The Objective Caml compiler, version 3.07+13 (2004-01-04)
Standard library directory: /usr/lib/ocaml
% uname -a
Linux tehachapi.cs.caltech.edu 2.4.20-24.7 #1 Mon Dec 1 13:35:11 EST 2003 i686
unknown
% cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
The text was updated successfully, but these errors were encountered: