> 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? I tried both versions, the first one compiled and linked with gcc, the second with g++. No success. caml_tuple isn't used very often in the base library. > > -- 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