From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Grover Newsgroups: gmane.lisp.guile.bugs Subject: SRFI-17 generates re-export warnings Date: Mon, 27 Jun 2005 10:39:36 -0400 Message-ID: <42C00FA8.8050500@mail.msen.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0707386907==" X-Trace: sea.gmane.org 1119893178 18065 80.91.229.2 (27 Jun 2005 17:26:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2005 17:26:18 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 27 19:26:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DmxMT-0006uq-Rl for guile-bugs@m.gmane.org; Mon, 27 Jun 2005 19:25:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmxU9-00077Y-RL for guile-bugs@m.gmane.org; Mon, 27 Jun 2005 13:33:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DmxON-0002ly-99 for bug-guile@gnu.org; Mon, 27 Jun 2005 13:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DmxOK-0002lA-Nm for bug-guile@gnu.org; Mon, 27 Jun 2005 13:27:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DmxAl-0007ej-Bt for bug-guile@gnu.org; Mon, 27 Jun 2005 13:13:27 -0400 Original-Received: from [148.59.80.48] (helo=ww8.msen.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dmwgr-0006d7-3G for bug-guile@gnu.org; Mon, 27 Jun 2005 12:42:33 -0400 X-Sent-To: Original-Received: from [192.168.1.220] (pool-151-196-47-245.balt.east.verizon.net [151.196.47.245]) (authenticated bits=0) by ww8.msen.com (8.13.3/8.13.3) with ESMTP id j5RGI0vq050465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 27 Jun 2005 12:18:01 -0400 (EDT) (envelope-from awgrover@mail.msen.com) User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en Original-To: bug-guile@gnu.org X-Enigmail-Version: 0.92.0.0 OpenPGP: id=5074AF60; url= X-Milter: Spamilter (Reciever: ww8.msen.com; Sender-ip: 151.196.47.245; Sender-helo: [192.168.1.220]; ) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3032 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:3032 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0707386907== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig21947D67C541AFA7C7FB2152" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig21947D67C541AFA7C7FB2152 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------enig21947D67C541AFA7C7FB2152 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCwA+pbLLh2VB0r2ARAmj/AJ9QeVeNXS2P81OeXZSOQyKu+iVdkwCfQxAG +uuys0ZpDqgwAW1moxXVdIo= =NPZt -----END PGP SIGNATURE----- --------------enig21947D67C541AFA7C7FB2152-- --===============0707386907== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile --===============0707386907==--