From debbugs-submit-bounces@debbugs.gnu.org Wed May 31 17:00:43 2017 Received: (at 27152) by debbugs.gnu.org; 31 May 2017 21:00:43 +0000 Received: from localhost ([127.0.0.1]:47958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGAjO-0000Nf-FQ for submit@debbugs.gnu.org; Wed, 31 May 2017 17:00:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGAjH-0000NM-UR for 27152@debbugs.gnu.org; Wed, 31 May 2017 17:00:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGAj8-0005pR-My for 27152@debbugs.gnu.org; Wed, 31 May 2017 17:00:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGAj8-0005pM-Je; Wed, 31 May 2017 17:00:22 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:53160 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dGAj7-0006lp-Rs; Wed, 31 May 2017 17:00:22 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: bug#27152: deprecation warnings with Guile 2.2.2 References: <87wp8y2ijw.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Prairial an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 31 May 2017 23:00:19 +0200 In-Reply-To: <87wp8y2ijw.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 30 May 2017 22:31:15 +0200") Message-ID: <87h90091y4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27152 Cc: 27152@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Ricardo Wurmus skribis: > I get a couple of deprecation warnings with Guile 2.2.2, for example > > Import (ice-9 threads) to have access to `current-processor-count'. > `_IOFBF' is deprecated. Use the symbol 'block instead. We can fix the first one with #:use-module (ice-9 threads). The second one is just a pain: in 2.2 one is supposed to write (setvbuf port 'block) instead of (setvbuf port _IOFBF) So we could do: (cond-expand (guile-2.2 (define _IOFBF 'block)) (else #t)) in some central place (that doesn=E2=80=99t exist), but really, that=E2=80= =99s annoying. So I=E2=80=99m tempted to do nothing. Note that normally users do not see these deprecation warnings at all. Thoughts? Ludo=E2=80=99.