From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 628F4BC0A for ; Mon, 19 Feb 2007 10:59:45 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1J9xiTl032256 for ; Mon, 19 Feb 2007 10:59:45 +0100 Received: by ug-out-1314.google.com with SMTP id k3so460633ugf for ; Mon, 19 Feb 2007 01:59:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MHb2h1xisgUiUeaaalzz+7SjB7mKkTPSL3GpDa2b6EGiPhi2+XNmVIPUk/4eQ0LYrgHLr2XNmIgnYm3oDeSy25EUvITdT5UM4t1dT2GC5lyMKeNI7OwcPmCe4uECxjL3JFw3bs/vtM3+0zAlrZIpjMUIxOAcuMpxTmgxjDSiDds= Received: by 10.78.170.17 with SMTP id s17mr74204hue.1171879181487; Mon, 19 Feb 2007 01:59:41 -0800 (PST) Received: by 10.78.25.13 with HTTP; Mon, 19 Feb 2007 01:59:41 -0800 (PST) Message-ID: <95513600702190159jae51abegc3fdebf3ea0d91a4@mail.gmail.com> Date: Mon, 19 Feb 2007 10:59:41 +0100 From: "Olivier Andrieu" Sender: oandrieu@gmail.com To: micha Subject: Re: [Caml-list] caml/compatibility.h question Cc: caml-list@inria.fr In-Reply-To: <45D96CA2.5080206@fantasymail.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45D96CA2.5080206@fantasymail.de> X-Google-Sender-Auth: 0680eb7122dbc1ef X-Miltered: at concorde with ID 45D97510.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; andrieu:01 oandrieu:01 lib:01 defines:01 redefines:01 lib:01 overwritten:01 wrote:01 caml-list:01 nerim:01 define:01 caml:02 caml:02 callback:02 binding:02 On 2/19/07, micha wrote: > Hi, > > I'm making a binding to a c++ lib and I'm getting linker errors since > the file "caml/compatibility.h" defines names such as callback and > redefines "flush" to "caml_flush", so the flush function of the c++ lib > gets overwritten. Do I need "caml/compatibility.h"? no, simply #define CAML_NAME_SPACE and compatibility.h won't be included. -- Olivier