From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA13972; Wed, 9 Apr 2003 13:57:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA13997 for ; Wed, 9 Apr 2003 13:57:31 +0200 (MET DST) Received: from mailhost.tni.fr (firewall.tni.fr [195.25.255.61]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h39BvUX20252 for ; Wed, 9 Apr 2003 13:57:30 +0200 (MET DST) Received: from groscool.tni.fr ([195.25.255.1]) by mailhost.tni.fr (Netscape Messaging Server 3.62) with SMTP id 2761; Wed, 9 Apr 2003 13:57:23 +0200 Received: from 192.168.7.60 by groscool.tni.fr (InterScan E-Mail VirusWall NT); Wed, 09 Apr 2003 13:57:22 +0200 (Paris, Madrid (heure d'été)) Message-ID: <3E94099D.3CE588A1@tni.fr> Date: Wed, 09 Apr 2003 13:53:01 +0200 From: "sebastien FURIC" X-Mailer: Mozilla 4.78 [fr] (Windows NT 5.0; U) X-Accept-Language: fr MIME-Version: 1.0 To: David Gray CC: caml-list@inria.fr Subject: Re: [Caml-list] Complex Numbers References: <3E93FD23.4000602@dcu.ie> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; furic:01 tni-valiosys:01 caml-list:01 3.06:01 bug:01 ocamlc:01 mli:01 compiler:01 cmo:01 ecrit:01 ocaml:01 caml:01 bytecode:01 module:03 dave:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk David Gray a écrit : > > Does anyone have trouble with 3.06 version for windows using the following: > > #open Complex;; > #let y = {re = -1.; im = 0.};; > #let ans = sqrt y;; > Reference to undefined global `Complex' > > the above seems to work under Red Hat. > > Dave Hi, I've already submitted a bug report for that (id = 1349). It will be fixed in the next version. Recompiling the Complex module with the bytecode compiler may help: ocamlc -c complex.mli complex.ml ocaml Objective Caml version 3.06 # #load "complex.cmo";; # open Complex;; # sqrt;; - : Complex.t -> Complex.t = # Cheers, Sébastien. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners