bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad deprecation warnings in numbers.c


From: Dirk Herrmann
Subject: Re: Bad deprecation warnings in numbers.c
Date: Tue, 2 Apr 2002 21:16:55 +0200 (MEST)

On 1 Apr 2002, Neil Jerram wrote:

> There is a group of deprecation warnings in (stable) numbers.c that
> say, for example:
> 
>   scm_c_issue_deprecation_warning ("`scm_mkbig' is deprecated. "
>                                    "Use `scm_i_mkbig' instead.");
> 
> No!!!!!
> 
> This directly contradicts our aim of using `scm_i_' to mark Guile
> internals, which libguile users shouldn't use _at all_!
> 
> What's the right thing here?  Could we do it before 1.6?

IMO, people should not use any of these functions at all.  We should try 
to remove their use from other places within guile as well.  The reason
is, that these functions depend on the implementation of the bignums,
which should be considered the secret knowledge of the number
implementation.  It is, btw., likely to change in the not too far future,
if for example we manage the switch to the GNU mp library.

Best regards,
Dirk Herrmann




reply via email to

[Prev in Thread] Current Thread [Next in Thread]