guile-user
[Top][All Lists]
Advanced

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

Re: GUILE_WARN_DEPRECATED


From: Neil Jerram
Subject: Re: GUILE_WARN_DEPRECATED
Date: Sun, 26 Dec 2004 23:04:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

David Pirotte wrote:

here it is:

        `scm_sysintern0' is deprecated. Use `scm_define' instead.
        `scm_protect_object' is deprecated. Use `scm_gc_protect_object' instead.

but i know that it comes from :use-module (database postgres), which is a
kind of obsolate version, deliberatly used until i have time to upgrade
to a more recent version of it.

Fair enough - I wanted to be sure that the warnings weren't from before your (setenv ...) code.


the question i had is more related to why is the variable
GUILE_WARN_DEPRECATED only 'working' when manually set and not when
set within the guile program itself?

as i said, i'd like to recieve the deprecated info only when i set a *debug*
variable, but my users shouldn't see anything

I'm afraid I don't know the proper answer here. However, you could work around this by wrapping your program in a shell script (which sets GUILE_WARN_DEPRECATED and then execs the actual program). Would that help?

        Neil




reply via email to

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