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: Deprecated stuff disappeared without warning


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

> I've just had a shock because I find that despite my module building
> fine with CVS guile dated 2000-06-09, it doesn't build with 1.4
> pre-release 2 because the scm_smobfuns structure (which was
> deprecated) has now gone.  I didn't get any warning about this and
> there's nothing in the ChangeLog.

These kind of things are announced in the NEWS file.

If you search for scm_newsmob or scm_smobfuns in NEWS, you'll find the
new construct (`scm_make_smob_type').

> What should I be defining when I build my module in order to make
> sure I'm not using deprecated features? SCM_DEBUG_DEPRECATED=1?

Yes.  Set it in libguile/__scm.h.

(We should probably add a configuration option for this features,
 which was very recently added.)

> I just assumed that I had to explicitly ask for deprecated stuff to
> be included.

When a feature is deprecated, it is announced in NEWS for at least one
release.  After one release with this information in NEWS, we are
likely to remove it in any of the following releases.

Best regards,
/mdj

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