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: 4606 Reporter: monate Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2009-04-01T16:53:42Z) Resolution: fixed Priority: normal Severity: minor Fixed in version: 3.11.0 Category: ~DO NOT USE (was: OCaml general) Monitored by: "Julien Signoles"
Bug description
Using the following files:
===static.ml===
open Dynlink
let () =
try
(init ();)
loadfile "dyn.cmxs"
with Error e -> Format.printf "%s@." (error_message e)
==dyn.ml========
Format.printf "HELLO@.";;
and compiling with:
ocamlopt -shared -o dyn.cmxs dyn.ml
ocamlopt -o test dynlink.cmxa static.ml
./test output is:
no implementation available for Format
Un-commenting init () in static.ml solves the issue, but the documentation explicitly says that init is deprecated and is called automatically.
The text was updated successfully, but these errors were encountered:
Original bug ID: 4606
Reporter: monate
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2009-04-01T16:53:42Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 3.11.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: "Julien Signoles"
Bug description
Using the following files:
===static.ml===
open Dynlink
let () =
try
(init ();)
loadfile "dyn.cmxs"
with Error e -> Format.printf "%s@." (error_message e)
==dyn.ml========
Format.printf "HELLO@.";;
and compiling with:
ocamlopt -shared -o dyn.cmxs dyn.ml
ocamlopt -o test dynlink.cmxa static.ml
./test output is:
no implementation available for Format
Un-commenting init () in static.ml solves the issue, but the documentation explicitly says that init is deprecated and is called automatically.
The text was updated successfully, but these errors were encountered: