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: 856 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name:
Version: 3.04
OS: linux
Submission from: pc803.lri.fr (129.175.8.114)
dans ocamldebug, si on fait load_printer "b.cmo" et que le module B dépend
d'un a.cmi sans .cmo associé (un module A n'introduisant que des types) alors
ocamldebug échoue dans le chargement de "b.cmo", réclamant un "a.cmo"
En détail :
% cat > a.mli
type t = int
% cat > b.ml
type t = A.t
let x = 1
% ocamlc -c -g a.mli
% ocamlc -c -g b.ml
% ocamlc -g b.cmo
% ocamldebug a.out
Objective Caml Debugger version 3.04
dans ocamldebug, si on fait load_printer "b.cmo" et que le module B dépend
d'un a.cmi sans .cmo associé (un module A n'introduisant que des types) alors
ocamldebug échoue dans le chargement de "b.cmo", réclamant un "a.cmo"
C'est un probleme connu. On peut le resoudre facilement avec
% cp a.mli a.ml
% ocamlc -c a.ml
J'ignore si il y a un projet pour le resoudre de facon plus radicale.
Ca pourrait etre interessant, car le meme probleme se produit avec dynlink.
Original bug ID: 856
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name:
Version: 3.04
OS: linux
Submission from: pc803.lri.fr (129.175.8.114)
dans ocamldebug, si on fait load_printer "b.cmo" et que le module B dépend
d'un a.cmi sans .cmo associé (un module A n'introduisant que des types) alors
ocamldebug échoue dans le chargement de "b.cmo", réclamant un "a.cmo"
En détail :
% cat > a.mli
type t = int
% cat > b.ml
type t = A.t
let x = 1
% ocamlc -c -g a.mli
% ocamlc -c -g b.ml
% ocamlc -g b.cmo
% ocamldebug a.out
Objective Caml Debugger version 3.04
(ocd) load_printer "b.cmo"
Cannot find file a.cmo
(ocd)
The text was updated successfully, but these errors were encountered: