Version française
Home     About     Download     Resources     Contact us    
Browse thread
caml/compatibility.h question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier Andrieu <oandrieu@n...>
Subject: Re: [Caml-list] caml/compatibility.h question
On 2/19/07, micha <micha-1@fantasymail.de> 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