This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Deprecated stuff disappeared without warning
- To: Ian Grant <Ian dot Grant at cl dot cam dot ac dot uk>
- Subject: Re: Deprecated stuff disappeared without warning
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 15 Jun 2000 16:37:47 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <E132Vef-0001j8-00@wisbech.cl.cam.ac.uk>
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