Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2016 23:29:58 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        toolchain@freebsd.org
Subject:   Re: boost/asio/ip/resolver_query_base.hpp:96:3: warning: all paths through this function will call itself
Message-ID:  <DB54250E-55BB-4876-BC30-CE70128F2C6E@FreeBSD.org>
In-Reply-To: <56F58E3E.1090208@digiware.nl>
References:  <56F58E3E.1090208@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <wjw@digiware.nl> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB54250E-55BB-4876-BC30-CE70128F2C6E>