Browse thread
[Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails
-
Bauer, Christoph
-
Damien Doligez
-
Olivier Andrieu
-
Damien Doligez
- Erik de Castro Lopo
-
Damien Doligez
-
Olivier Andrieu
- Xavier Leroy
-
Damien Doligez
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 <damien.doligez@inria.fr> 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 -- +-----------------------------------------------------------+ Erik de Castro Lopo nospam@mega-nerd.com (Yes it's valid) +-----------------------------------------------------------+ "There is no satisfactory substitute for excellence." -- Dr. Arnold O. Beckman ------------------- 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