unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Deprecate vs. discourage
@ 2010-01-26 22:15 Ludovic Courtès
  2010-01-27  0:18 ` Andy Wingo
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ludovic Courtès @ 2010-01-26 22:15 UTC (permalink / raw)
  To: guile-devel

Hello!

I think things like ‘uniform-vector-read’ should be discouraged rather
than deprecated, since it matches the definition in ‘discouraged.h’:

   A discouraged feature is one that shouldn't be used in new code
   since we have a better alternative now.  However, there is nothing
   wrong with using the old feature, so it is OK to continue to use
   it.

However, discouraged features currently don’t produce any sort of
warning.  I would suggest using the same technique as
‘build-aux/link-warning.h’ to issue a link-time warning.

What do you think?

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-01-28 22:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 22:15 Deprecate vs. discourage Ludovic Courtès
2010-01-27  0:18 ` Andy Wingo
2010-01-27 13:41 ` Greg Troxel
2010-01-28 21:28   ` Neil Jerram
2010-01-28 21:44     ` Andy Wingo
2010-01-27 23:02 ` Grant Rettke
2010-01-27 23:24   ` Ludovic Courtès
2010-01-28 21:22     ` Neil Jerram
2010-01-28 22:07       ` Ludovic Courtès
2010-01-28 22:35         ` Neil Jerram
2010-01-28 22:44           ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).