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: Unwanted hook names (was Re: interface reductions)


Ian Grant <Ian.Grant@cl.cam.ac.uk> writes:

> dirk@ida.ing.tu-bs.de said:
> > So I have to agree with you that this is extremely bad.  But, the only
> > way we could cause a compile time error would be to either rename
> > scm_create_hook or change it's parameter list.
> 
> > So, what to do about this problem:  It's not too bad of an idea to say
> > that functions with changing behaviour get renamed.  But, if the name
> > was quite allright, you wouldn't like to do this.  And, you change
> > something again, and the next release you change the name back again.
> > Hmmm? 
> 
> What about using #error and #warning preprocessor directives, or are these GNU 
> specific?

I don't see how to use #error to give errors if you use a deprecated
function.

Carl Witty

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