This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Removing things from numbers.h
- To: Miroslav Silovic <silovic at zesoi dot fer dot hr>
- Subject: Re: Removing things from numbers.h
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Fri, 12 May 2000 08:54:40 +0200 (MEST)
- cc: Guile Mailing List <guile at sourceware dot cygnus dot com>
On 11 May 2000, Miroslav Silovic wrote:
> I suggest you don't put it in configure - I want to be able to do
> something like this in my own code:
>
> #define SCM_DEBUG_DEPRECATED 1
> #include <libguile.h>
>
> (so, IMO this flag should be used while compiling code that depends on
> Guile, rather than Guile itself).
The solution that I have decided for is to do the following in __scm.h
(which gets included by libguile.h):
#ifndef SCM_DEBUG_DEPRECATED
#define SCM_DEBUG_DEPRECATED 0
#endif
Thus, if you have defined it before, your definition wins.
Thanks for your comments.
Dirk