From: Eric Cooper <ecc@cmu.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: How to find out free diskspace?
Date: Fri, 22 Jul 2005 10:10:24 -0400 [thread overview]
Message-ID: <20050722141024.GB5992@localhost> (raw)
In-Reply-To: <dbqpnb$hom$1@sea.gmane.org>
On Fri, Jul 22, 2005 at 02:46:23PM +0200, Bernd Kuhls wrote:
> Stephane Glondu wrote:
> >On Thursday 21 July 2005 08:52, Bernd Kuhls wrote:
> >
> >>The code for "ifndef HAVE_STATS" is still lacking, how should it look
> >>like?
> >
> >
> >I would say raise an exception.
>
> Hi,
>
> this would be necessary for runtime, but my question was about what to
> code for compile time when the headers files necessary can't be found?
Do you want it to fail at compile time or run time? For the former,
use the #error "..." directive. For the latter, define a function
that always throws an exception.
--
Eric Cooper e c c @ c m u . e d u
next prev parent reply other threads:[~2005-07-22 17:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-01 16:28 Bernd Kuhls
2005-07-01 18:06 ` [Caml-list] " Sylvain LE GALL
2005-07-01 18:19 ` Richard Jones
2005-07-03 11:54 ` Damien Doligez
2005-07-03 12:35 ` Richard Jones
2005-07-21 15:52 ` Bernd Kuhls
2005-07-21 16:18 ` [Caml-list] " Stephane Glondu
2005-07-22 12:46 ` Bernd Kuhls
2005-07-22 14:10 ` Eric Cooper [this message]
2005-07-22 17:40 ` Bernd Kuhls
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=20050722141024.GB5992@localhost \
--to=ecc@cmu.edu \
--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