Currently warnings about duplicates, etc are printed to the current
output port, whereas they should go to the error port.

Index: ice-9/boot-9.scm
===================================================================
RCS file: /cvsroot/guile/guile/guile-core/ice-9/boot-9.scm,v
retrieving revision 1.356.2.9
diff -u -u -r1.356.2.9 boot-9.scm
--- ice-9/boot-9.scm    8 Aug 2007 15:04:30 -0000       1.356.2.9
+++ ice-9/boot-9.scm    1 Sep 2007 16:18:05 -0000
@@ -3055,7 +3055,7 @@
                 #f))
     
     (define (warn module name int1 val1 int2 val2 var val)
-      (format #t
+      (format (current-error-port)
              "WARNING: ~A: `~A' imported from both ~A and ~A\n"
              (module-name module)
              name
@@ -3077,7 +3077,7 @@
     (define (warn-override-core module name int1 val1 int2 val2 var val)
       (and (eq? int1 the-scm-module)
           (begin
-            (format #t
+            (format (current-error-port)
                     "WARNING: ~A: imported module ~A overrides core binding 
`~A'\n"
                     (module-name module)
                     (module-name int2)

-- 
http://wingolog.org/


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to