From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Warnings `_IOFBF' is deprecated. Use the symbol 'block instead. Date: Thu, 12 Jul 2018 11:27:05 +0200 Message-ID: <87h8l4x0ra.fsf@gnu.org> References: <874lhadmxo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1531387542 8536 195.159.176.226 (12 Jul 2018 09:25:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 09:25:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: Guile User To: Roel Janssen Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jul 12 11:25:38 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdXqz-00027a-ST for guile-user@m.gmane.org; Thu, 12 Jul 2018 11:25:37 +0200 Original-Received: from localhost ([::1]:58268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdXt6-00079V-UR for guile-user@m.gmane.org; Thu, 12 Jul 2018 05:27:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdXsY-00076P-Am for guile-user@gnu.org; Thu, 12 Jul 2018 05:27:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdXsU-00040P-CM for guile-user@gnu.org; Thu, 12 Jul 2018 05:27:14 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdXsU-00040H-9A for guile-user@gnu.org; Thu, 12 Jul 2018 05:27:10 -0400 Original-Received: from [193.50.110.117] (port=38716 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fdXsR-0005Nz-ED; Thu, 12 Jul 2018 05:27:07 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Messidor an 226 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-pc-linux-gnu In-Reply-To: <874lhadmxo.fsf@gnu.org> (Roel Janssen's message of "Sun, 08 Jul 2018 12:46:59 +0200") 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-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14708 Archived-At: Hello, Roel Janssen skribis: > When compiling my project, setting GUILE_WARN_DEPRECATED to "detailed", > I get various warnings like these: > `_IOFBF' is deprecated. Use the symbol 'block instead. > `_IONBF' is deprecated. Use the symbol 'none instead. > `_IOLBF' is deprecated. Use the symbol 'line instead. > > I grepped the source code of my project and I cannot find any instance > of "_IOFBF", "_IONBF", and "_IOLBF". > > What's the situation with these, and how can I resolve these deprecation = warnings? You=E2=80=99re probably using a library (maybe Guix?) that uses those. The problem is that these warnings are annoying, and getting rid them is tedious if your code aims to be 2.0-compatible. Essentially you have to use =E2=80=98cond-expand=E2=80=99 all around. :-/ In Guix we disable deprecation warnings. Ludo=E2=80=99.