caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Olivier Andrieu" <oandrieu@nerim.net>
To: micha <micha-1@fantasymail.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] caml/compatibility.h question
Date: Mon, 19 Feb 2007 10:59:41 +0100	[thread overview]
Message-ID: <95513600702190159jae51abegc3fdebf3ea0d91a4@mail.gmail.com> (raw)
In-Reply-To: <45D96CA2.5080206@fantasymail.de>

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


  reply	other threads:[~2007-02-19  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19  9:23 micha
2007-02-19  9:59 ` Olivier Andrieu [this message]
2007-02-19 10:23   ` [Caml-list] " micha

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=95513600702190159jae51abegc3fdebf3ea0d91a4@mail.gmail.com \
    --to=oandrieu@nerim.net \
    --cc=caml-list@inria.fr \
    --cc=micha-1@fantasymail.de \
    /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;
as well as URLs for NNTP newsgroup(s).