From: Christophe TROESTLER <debian00@tiscalinet.be>
To: "O'Caml Mailing List" <caml-list@inria.fr>
Subject: [Caml-list] Link with C++ code
Date: Tue, 20 Nov 2001 23:41:49 +0100 (CET) [thread overview]
Message-ID: <20011120.234149.54715310.debian00@tiscalinet.be> (raw)
Hi all,
I am trying to use some C++ code from OCaml. I am completely
inexperienced at this (and not knowing well C++ to make matters worse)
but in view of http://caml.inria.fr/Hump/msg778-782 that didn't seem
so difficult. I will likely have more questions later but I am
already stuck at the beginning. Indeed, the C++ code includes the
file "stl_alloc.h" which contains (gnu version, line 451)
typedef __default_alloc_template<__NODE_ALLOCATOR_THREADS, 0> alloc;
and so conflicts with the definition of "alloc" in
"/usr/include/caml/alloc.h".
What can I do ?
ChriS
---
P.S. For those who wonder, this attempt arises from a need to do
symbolic computation on multi-variable polynomials (with symbolic
coefficients). First I thought to implement this directly in Caml
but, when I saw http://www.ginac.de/ I realized it is more useful to
try to use it from OCaml since I will never have time to do 1/10th of
what they already accomplished... BTW, if you know other good algebra
packages that fit my need, feel free to let me know...
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-11-20 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-20 22:41 Christophe TROESTLER [this message]
2001-11-21 7:12 ` Clemens Hintze
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=20011120.234149.54715310.debian00@tiscalinet.be \
--to=debian00@tiscalinet.be \
--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