Date: Sun, 27 Mar 2016 23:46:27 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: Dimitry Andric <dim@FreeBSD.org> 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: <56F854B3.30001@digiware.nl> In-Reply-To: <DB54250E-55BB-4876-BC30-CE70128F2C6E@FreeBSD.org> References: <56F58E3E.1090208@digiware.nl> <DB54250E-55BB-4876-BC30-CE70128F2C6E@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-3-2016 23:29, Dimitry Andric wrote: > 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: >> >> 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] >> >> 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/9e757605709cace0fc048ad284b2d6aa3ae784ac Perhaps trivial, but also subtle Thanx, --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F854B3.30001>