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: 1253 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Charles Martin
Version: 3.04+15 (2002-06-18)
OS: FreeBSD 4.6-RELEASE-p1
Submission from: adsl-63-195-80-23.dsl.snfc21.pacbell.net (63.195.80.23)
ocamlopt fails with "Fatal error: exception Not_found" when files created with
the -pack option are not referenced. Here is a small test case to reproduce the
bug:
$ cat test.ml
let name = "OK"
$ ocamlopt -c -pack -o pack.cmx test.ml
$ cat main.ml
let _ = print_endline Test.name
$ ocamlopt -o main test.ml pack.cmx main.ml
Fatal error: exception Not_found
The error does not occur if main.ml includes a reference to Pack.Test.name,
whether or not it also includes a reference to Test.name. The error does not
occur when using ocamlc.
The text was updated successfully, but these errors were encountered:
Original bug ID: 1253
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Charles Martin
Version: 3.04+15 (2002-06-18)
OS: FreeBSD 4.6-RELEASE-p1
Submission from: adsl-63-195-80-23.dsl.snfc21.pacbell.net (63.195.80.23)
ocamlopt fails with "Fatal error: exception Not_found" when files created with
the -pack option are not referenced. Here is a small test case to reproduce the
bug:
$ cat test.ml
let name = "OK"
$ ocamlopt -c -pack -o pack.cmx test.ml
$ cat main.ml
let _ = print_endline Test.name
$ ocamlopt -o main test.ml pack.cmx main.ml
Fatal error: exception Not_found
The error does not occur if main.ml includes a reference to Pack.Test.name,
whether or not it also includes a reference to Test.name. The error does not
occur when using ocamlc.
The text was updated successfully, but these errors were encountered: