guile-devel
[Top][All Lists]
Advanced

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

Re: Problems with deprecated functions


From: Marius Vollmer
Subject: Re: Problems with deprecated functions
Date: 22 May 2001 22:37:49 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Ariel Rios <address@hidden> writes:

> I configured guile with:
> ./configure --disable-deprecated
> 
> And when I try to build I get:
> 
> 
> In file included from deprecation.c:152:
> ../libguile/deprecation.x: In function `scm_init_deprecation':
> ../libguile/deprecation.x:2: `s_scm_issue_deprecation_warning'
> undeclared (first use in this function)

You probably need to remove the *.x file after reconfiguring.

> Is there an easy way to know which depreacted functions I am using?
> In guile-gtk I get:
> 
> address@hidden guile-core]$ guile
> guile> (use-modules (gtk gtk))
> guile> (quit)
> 
> Some deprecated features have been used.  Set the environment
> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
> program to get more information.  Set it to "no" to suppress
> this message.
> 
> 
> But is a hell to have to grep every single C function that has been
> deprecated... Is there a way to know which function I am calling that
> I am supposed not tobe calling anymore?

    $ export GUILE_WARN_DEPRECATED=detailed
    $ guile -s test-gtk.scm



reply via email to

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