From: Alan Grover <awgrover@mail.msen.com>
Subject: SRFI-17 generates re-export warnings
Date: Mon, 27 Jun 2005 10:39:36 -0400 [thread overview]
Message-ID: <42C00FA8.8050500@mail.msen.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1533 bytes --]
Environment:
* Guile 1.6.4
* Linux xxxxx 2.6.8-24.14-default #1 Tue Mar 29 09:27:43 UTC 2005 i686
i686 i386 GNU/Linux
* SuSE 9.2
buildstamp = Fri Dec 3 18:43:57 UTC 2004
LIBS = -lqthreads -lpthread -lcrypt -lm
libguileinterface = 15:0:3
Summary:
The (srfi srfi-17) module uses 'export' instead of 're-export', and thus
generates warnings.
Steps to reproduce:
% guile -c '(use-modules (srfi srfi-17))'
% /usr/bin/env GUILE_WARN_DEPRECATED=detailed guile -c '(use-modules
(srfi srfi-17))'
Transcript:
% guile -c '(use-modules (srfi srfi-17))'
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.
% /usr/bin/env GUILE_WARN_DEPRECATED=detailed guile -c '(use-modules
(srfi srfi-17))'
Using `export' to re-export imported bindings is deprecated. Use
`re-export' instead.
(You just re-exported `setter' from `(srfi srfi-17)'.)
(You just re-exported `car' from `(srfi srfi-17)'.)
(You just re-exported `cdr' from `(srfi srfi-17)'.)
(You just re-exported `caar' from `(srfi srfi-17)'.)
...
Suggested patch:
--- orig/srfi/srfi-17.scm
+++ mod/srfi/srfi-17.scm
@@ -68,7 +68,8 @@
;;; Code:
(define-module (srfi srfi-17)
- :export (getter-with-setter
+ :export (getter-with-setter)
+ :re-export (
setter
;; redefined standard procedures
car cdr caar cadr cdar cddr caaar caadr cadar caddr cdaar
--
Alan Grover
awgrover@mail.msen.com
+1.734.476.0969
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
next reply other threads:[~2005-06-27 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 14:39 Alan Grover [this message]
2005-06-27 23:03 ` SRFI-17 generates re-export warnings Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42C00FA8.8050500@mail.msen.com \
--to=awgrover@mail.msen.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).