From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Roel Janssen Newsgroups: gmane.lisp.guile.user Subject: Re: Warnings `_IOFBF' is deprecated. Use the symbol 'block instead. Date: Thu, 12 Jul 2018 22:41:55 +0200 Message-ID: <87601k6vak.fsf@gnu.org> References: <874lhadmxo.fsf@gnu.org> <87h8l4x0ra.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 1531428034 11232 195.159.176.226 (12 Jul 2018 20:40:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 20:40:34 +0000 (UTC) User-Agent: mu4e 1.0; emacs 26.1 Cc: Guile User To: Ludovic =?utf-8?Q?Court=C3=A8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jul 12 22:40:30 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 1fdiO4-0002pY-KH for guile-user@m.gmane.org; Thu, 12 Jul 2018 22:40:28 +0200 Original-Received: from localhost ([::1]:33996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdiQB-0003Lw-Mj for guile-user@m.gmane.org; Thu, 12 Jul 2018 16:42:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdiPi-0003Lr-Hn for guile-user@gnu.org; Thu, 12 Jul 2018 16:42:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdiPh-0001bY-Ml for guile-user@gnu.org; Thu, 12 Jul 2018 16:42:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdiPa-0001UC-VO; Thu, 12 Jul 2018 16:42:03 -0400 Original-Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:50695 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fdiPa-0000YS-Fk; Thu, 12 Jul 2018 16:42:02 -0400 In-reply-to: <87h8l4x0ra.fsf@gnu.org> 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:14710 Archived-At: Ludovic Court=C3=A8s writes: > 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. Thanks for your response. So, since my project relies quite heavily on Guix, I guess I can only disable deprecation warnings too. Will this be a problem for Guile 3.0? Thanks for your quick response! Kind regards, Roel Janssen