This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GSL_Wigner_6J error


Gerard Jungman writes:
 > Sorry. What is the intention here? I find this construct
 > confusing, as if it were a double negative. If DEBUG_DEPRECATED
 > is 0 (or undefined... I had to look that up in the cpp manual),
 > then the user does not want deprecated functions? Or is
 > it the other way around?
 > 
 > Why isn't the macro name something obvious like
 > HIDE_DEPRECATED or EXPOSE_DEPRECATED (depending on
 > the default)?

That's the way it is in Guile, not sure why.  With DEBUG_DEPRECATED=1
the functions are removed, for anything else they are defined.

The general idea of a preprocessor variable to #ifdef out deprecated
functions is a useful one anyway.


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