Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-10-15 (14:49)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails
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 Archives:
Bug reports: FAQ:
Beginner's list: