From: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
To: caml-list@inria.fr
Subject: AW: [Caml-list] OCaml-3.08.1/MinGW: alloc_tuple fails
Date: Fri, 15 Oct 2004 17:04:16 +0200 [thread overview]
Message-ID: <D981925B4F2CD611870300E0184CEE9B0157F30B@kaiserslautern1.lms-gmbh.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
> 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
[-- Attachment #2: Type: text/html, Size: 2059 bytes --]
next reply other threads:[~2004-10-15 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-15 15:04 Bauer, Christoph [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-15 15:18 Bauer, Christoph
2004-10-15 8:56 Bauer, Christoph
2004-10-14 14:59 Bauer, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D981925B4F2CD611870300E0184CEE9B0157F30B@kaiserslautern1.lms-gmbh.de \
--to=christoph.bauer@lms-gmbh.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox