Bug#294753: different behaviour with ocamlc/ocamlopt

2005-04-12 Thread Julien Cristau
package ocaml forwarded 294753 http://pauillac.inria.fr/bin/caml-bugs/open?id=3457 forwarded 263163 http://pauillac.inria.fr/bin/caml-bugs/open?id=3100 tags 294753 upstream thanks Just found out that this has already been forwarded upstream by the submitter. This bug seems to be related to 263163,

Bug#294753: different behaviour with ocamlc/ocamlopt

2005-04-12 Thread Julien Cristau
Hi, FWIW, the code given by the submitter is rejected by ocamlc, but (it seems wrongly) accepted by ocamlopt. $ ocamlc test.mli $ ocamlc test.ml Error while linking test.cmo: Reference to undefined global `Test' $ ocamlopt test.ml $ echo $? 0 $ ./a.out Segmentation fault I'll try to investiga