From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27152: deprecation warnings with Guile 2.2.2 Date: Wed, 31 May 2017 23:00:19 +0200 Message-ID: <87h90091y4.fsf@gnu.org> References: <87wp8y2ijw.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGAjq-00036A-LV for bug-guix@gnu.org; Wed, 31 May 2017 17:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGAjm-00062g-Lg for bug-guix@gnu.org; Wed, 31 May 2017 17:01:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGAjm-00062V-DS for bug-guix@gnu.org; Wed, 31 May 2017 17:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGAjm-0000OR-3D for bug-guix@gnu.org; Wed, 31 May 2017 17:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wp8y2ijw.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 30 May 2017 22:31:15 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 27152@debbugs.gnu.org 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.