This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Removing things from numbers.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]