caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Sylvain Pogodalla <Sylvain.Pogodalla@loria.fr>
Cc: "Sébastien Hinderer" <Sebastien.Hinderer@ens-lyon.org>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Filename.temp_dir_name
Date: Thu, 30 Oct 2014 10:40:24 +0100	[thread overview]
Message-ID: <BDF29F6BBA3344AFB6131BD3E9246404@erratique.ch> (raw)
In-Reply-To: <21586.845.886585.622116@fanon.loria.fr>

Le jeudi, 30 octobre 2014 à 10:22, Sylvain Pogodalla a écrit :
> The IFDEF instruction of campl4 (and the corresponding -D flag) may
> also be useful for that purpose.

Rather than using ugly pre-processing tools and make unreadable #idef'd sources you can simply gather version specific functionality in different modules with the same name and choose the right one at configure time.  

Best,

Daniel



  reply	other threads:[~2014-10-30  9:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 12:12 Sébastien Hinderer
2014-10-23 12:50 ` David Allsopp
2014-10-29 14:30   ` Sébastien Hinderer
2014-10-29 14:41     ` David Allsopp
2014-10-29 15:29       ` Sébastien Hinderer
2014-10-30  7:35         ` Gabriel Scherer
2014-10-30  9:22         ` Sylvain Pogodalla
2014-10-30  9:40           ` Daniel Bünzli [this message]
2014-10-30  9:49             ` David Allsopp
2014-10-30 10:04               ` Daniel Bünzli
2014-10-30  9:44           ` Sébastien Hinderer

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=BDF29F6BBA3344AFB6131BD3E9246404@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=Sebastien.Hinderer@ens-lyon.org \
    --cc=Sylvain.Pogodalla@loria.fr \
    --cc=caml-list@inria.fr \
    /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).