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 QAA02416; Fri, 15 Oct 2004 16:49:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA02773 for ; Fri, 15 Oct 2004 16:49:32 +0200 (MET DST) Received: from [128.93.8.158] (macaque.inria.fr [128.93.8.158]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i9FEnVAM023043 for ; Fri, 15 Oct 2004 16:49:31 +0200 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20041015.154524.112630031.andrieu@ijm.jussieu.fr> References: <20041015.154524.112630031.andrieu@ijm.jussieu.fr> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6D23AA95-1EB9-11D9-972F-00039310CAE8@inria.fr> Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails Date: Fri, 15 Oct 2004 16:49:33 +0200 To: caml users X-Mailer: Apple Mail (2.619) X-Miltered: at nez-perce with ID 416FE37B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 mingw:01 alloc:01 andrieu:01 alloc:01 initialise:01 compiler:01 compiler:01 ocaml-:01 doligez:01 doligez:01 olivier:02 compile:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Oct 15, 2004, at 15:45, Olivier Andrieu wrote: > Hum, doesn't alloc_tuple(n) (which is simply alloc(n, 0)) already > initialise the block with zeroes ? Oops, that's true, so it's OK to use Store_field. I have another theory for Christoph's problem: maybe some incompatibility between C and C++ calling conventions. Is it supposed to work when you compile a C file with a C++ compiler, then link it with other C files compiled with a C compiler? -- Damien ------------------- 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