From owner-freebsd-toolchain@freebsd.org Sun Mar 27 21:30:12 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1948ADF2A4 for ; Sun, 27 Mar 2016 21:30:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA501886 for ; Sun, 27 Mar 2016 21:30:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9786EADF2A2; Sun, 27 Mar 2016 21:30:12 +0000 (UTC) Delivered-To: toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94BDBADF2A1 for ; Sun, 27 Mar 2016 21:30:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 383CB1885 for ; Sun, 27 Mar 2016 21:30:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::ad9c:32e8:3e6c:1da3] (unknown [IPv6:2001:7b8:3a7:0:ad9c:32e8:3e6c:1da3]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id CCD432557F; Sun, 27 Mar 2016 23:30:07 +0200 (CEST) Subject: Re: boost/asio/ip/resolver_query_base.hpp:96:3: warning: all paths through this function will call itself Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B5C505BE-075E-4F8B-A2CB-2BB216E0265F"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <56F58E3E.1090208@digiware.nl> Date: Sun, 27 Mar 2016 23:29:58 +0200 Cc: toolchain@freebsd.org Message-Id: References: <56F58E3E.1090208@digiware.nl> To: Willem Jan Withagen X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2016 21:30:12 -0000 --Apple-Mail=_B5C505BE-075E-4F8B-A2CB-2BB216E0265F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 25 Mar 2016, at 20:15, Willem Jan Withagen wrote: > Any suggestions why I'm getting this warning/error in the ceph code: >=20 > In file included from log/Log.cc:12: > In file included from /usr/local/include/boost/asio.hpp:63: > In file included from = /usr/local/include/boost/asio/ip/basic_resolver.hpp:24: > In file included from = /usr/local/include/boost/asio/ip/basic_resolver_query.hpp:21: > /usr/local/include/boost/asio/ip/resolver_query_base.hpp:96:3: = warning: all paths through this function will call > itself [-Winfinite-recursion] >=20 > Could be a boost error, but I have not seen any upgrades to a newer = version. It's a boost bug. You can apply this trivial upstream fix: = https://github.com/boostorg/asio/commit/9e757605709cace0fc048ad284b2d6aa3a= e784ac -Dimitry --Apple-Mail=_B5C505BE-075E-4F8B-A2CB-2BB216E0265F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlb4UN8ACgkQsF6jCi4glqOkbACg44F78eSVNn84g2F38dUgPWix oGsAn2Uc+rsAlf5XAU5tYutaMnBou9rP =BGLk -----END PGP SIGNATURE----- --Apple-Mail=_B5C505BE-075E-4F8B-A2CB-2BB216E0265F--