From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA06947; Tue, 20 Nov 2001 23:39:04 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA06480 for ; Tue, 20 Nov 2001 23:39:03 +0100 (MET) Received: from abel (nat.umh.ac.be [193.190.193.1]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fAKMd2T24010 for ; Tue, 20 Nov 2001 23:39:02 +0100 (MET) Received: from abel ([127.0.0.1] helo=localhost ident=trch) by abel with esmtp (Exim 3.32 #1 (Debian)) id 166JaQ-0006o8-00; Tue, 20 Nov 2001 23:41:50 +0100 Date: Tue, 20 Nov 2001 23:41:49 +0100 (CET) Message-Id: <20011120.234149.54715310.debian00@tiscalinet.be> To: "O'Caml Mailing List" Subject: [Caml-list] Link with C++ code From: Christophe TROESTLER X-Spook: terrorism Jiang Zemin spies MIT-LL Uzi Craig Livingstone Glock assassinate gamma Bosnia X-Mailer-URL: http://www.mew.org/ X-Operating-System: GNU/Linux (http://www.linux.org/) X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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