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 PAA26325; Tue, 25 Nov 2003 15:32:18 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA26293 for ; Tue, 25 Nov 2003 15:32:17 +0100 (MET) Received: from smtp.siren.ocn.ne.jp (siren.ocn.ne.jp [211.129.13.170]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAPEWF104872 for ; Tue, 25 Nov 2003 15:32:16 +0100 (MET) Received: from PWARP (p2086-ipad01kyoto.kyoto.ocn.ne.jp [61.207.253.86]) by smtp.siren.ocn.ne.jp (Postfix) with SMTP id C17C31156; Tue, 25 Nov 2003 23:32:12 +0900 (JST) Message-ID: <003701c3b360$e67426f0$0274a8c0@PWARP> From: "Nicolas Cannasse" To: "Samuel Mimram" , "Caml Users Mailing List" References: <3FC174F5.13617AC8@orcaware.com><20031124095952.GE25688@redhat.com><3FC2A2DC.F73593F3@orcaware.com><20031125073825.GA781@fistandantilus.takhisis.org><008b01c3b329$0f871d50$0274a8c0@PWARP> <20031125135537.7e947b4f.samuel.mimram@ens-lyon.fr> Subject: Re: [Caml-list] Ocaml and Samba function name collisions Date: Tue, 25 Nov 2003 23:32:02 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cannasse:01 warplayer:01 caml-list:01 struct:01 dlls:01 cannasse:01 ocaml:01 nicolas:01 nicolas:01 workaround:01 primitives:01 exported:03 trick:03 trick:03 namespace:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > The #define you suggested does not seem to work and > I think this is beacause they are not exported in the header > files but are in the the .so and therefore visible in the global > C namespace. And I'd prefer not to have to use C++ (I think > I should be able to do it in C), so I did not try the namspace trick. This trick was an answer to Stephano problem about the struct color defined by the camlheaders (if I understood correcly). I'm not sure there is a workaround for the dl primitives name collisions which does not require the modification of one of the two dlls. Nicolas Cannasse ------------------- 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