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: -- (:)
From: Erik de Castro Lopo <ocaml-erikd@m...>
Subject: Re: [Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails
On Fri, 15 Oct 2004 16:49:33 +0200
Damien Doligez <> wrote:

> 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?

It will work only if all public functions (ie functions called from
the other C files) are declared as extern "C".

  Erik de Castro Lopo (Yes it's valid)
"There is no satisfactory substitute for excellence."
-- Dr. Arnold O. Beckman

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: