* Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Wed, 16 May 2001 07:20:53 +0000 (07:20 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Wed, 16 May 2001 07:20:53 +0000 (07:20 +0000)
ChangeLog
acconfig.h
configure.in
libguile/ChangeLog
libguile/deprecation.c

index a17fc1b..9333cbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-16  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * acconfig.h, configure.in:  Renamed
+       GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.
+
 2001-05-15  Marius Vollmer  <mvo@zagadka.ping.de>
 
        * acinclude.m4: Removed copy of "libtool.m4".
index 1f14a91..1d28d2e 100644 (file)
@@ -48,7 +48,7 @@
 #undef SCM_DEBUG_DEPRECATED
 
 /* Define this to control the default warning level for deprecated features */
-#undef GUILE_WARN_DEPRECATED_DEFAULT
+#undef SCM_WARN_DEPRECATED_DEFAULT
 
 /* Define these two if you want support for debugging of Scheme
    programs.  */
index 143aa4d..78665ab 100644 (file)
@@ -110,7 +110,7 @@ else
     warn_default=$enable_deprecated
   fi
   AC_DEFINE(SCM_DEBUG_DEPRECATED, 0)
-  AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$warn_default")
+  AC_DEFINE_UNQUOTED(SCM_WARN_DEPRECATED_DEFAULT, "$warn_default")
 fi
 
 dnl The --disable-debug used to control these two.  But now they are
index 6292601..5b3182f 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-16  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * deprecation.c (scm_init_deprecation):  Renamed
+       GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT.
+
 2001-05-16  Marius Vollmer  <mvo@zagadka.ping.de>
 
        * Makefile.am (cpp_sig_symbols.c, cpp_err_symbols.c): Make
 2001-05-10  Marius Vollmer  <mvo@zagadka.ping.de>
 
        Merged from mvo-vcell-cleanup-1-branch.
-       
+
        The concept of vcells has been removed from Guile.  With it,
        explicit obarrays and associated operations are gone.  Use
        hashtables instead of obarrays.
-       
+
        Throughout: use scm_sym2var instead of scm_sym2vcell and treat
        result as variable instead of vcell.  Glocs no longer point to a
        vcell but to a variable.  Use scm_c_define instead of
        scm_sysintern and treat the result as a variable (which it is),
        not a vcell.
-       
+
        * variable.c, variable.h (SCM_VARVCELL, SCM_UDVARIABLEP,
        SCM_DEFVARIABLEP): Deprecated.
        (SCM_VARIABLE_REF, SCM_VARIABLE_SET, SCM_VARIABLE_LOC): New.
        * symbols-deprecated.c: New file.
        * Makefile.am: Added symbols-deprecated.c and related files in all
        the right places.
-       
+
        * snarf.h (SCM_VCELL, SCM_GLOBAL_VCELL, SCM_VCELL_INIT,
        SCM_GLOBAL_VCELL_INIT): Deprecated.
        (SCM_VARIABLE, SCM_GLOBAL_VARIABLE, SCM_VARIABLE_INIT,
        SCM_GLOBAL_VARIABLE_INIT): New, as replacement.  Changed all uses.
-       
+
        * print.c (scm_iprin1): Use scm_module_reverse_lookup instead of
        SCM_GLOC_SYM.
 
        scm_modules_prehistory): New.
        (scm_post_boot_init_modules): Use scm_c_define and scm_c_lookup
        instead of scm_intern0.
-       
+
        * macros.c (scm_make_synt): Return SCM_UNSPECIFIED instead of the
        symbol.
 
        (SCM_GLOC_SYM): Removed.
        (SCM_GLOC_VAR, SCM_GLOC_SET_VAL): New.
        (SCM_GLOC_VAL, SCM_GLOC_LOC): Reimplemented in terms of variables.
-       
+
        * eval.c (scm_lookupcar, scm_lookupcar1): Deal with variables
        instead of with vcells.  Do not overwrite `var' with the result of
        the lookup, use the new `real_var' instead.  Remove `var2' in
 
        * root.h (scm_symhash, scm_symhash_vars): Removed.
        * gc.c (scm_init_storage): Do not initialize them.
-       
+
 2001-05-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * eval.c (scm_init_eval):  Initialize scm_undefineds and
index b826f19..87f5164 100644 (file)
@@ -137,7 +137,7 @@ scm_init_deprecation ()
 #if SCM_DEBUG_DEPRECATED == 0
   const char *level = getenv ("GUILE_WARN_DEPRECATED");
   if (level == NULL)
-    level = GUILE_WARN_DEPRECATED_DEFAULT;
+    level = SCM_WARN_DEPRECATED_DEFAULT;
   if (!strcmp (level, "detailed"))
     issued_msgs = scm_permanent_object (scm_c_make_hash_table (17));
   else if (!strcmp (level, "no"))