From owner-freebsd-toolchain@freebsd.org Sun Mar 27 21:59:47 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 1428DADF937 for ; Sun, 27 Mar 2016 21:59:47 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id F38AD1208 for ; Sun, 27 Mar 2016 21:59:46 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id F2D8AADF936; Sun, 27 Mar 2016 21:59:46 +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 F27ACADF935 for ; Sun, 27 Mar 2016 21:59:46 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BBD231207; Sun, 27 Mar 2016 21:59:46 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 418E11534CA; Sun, 27 Mar 2016 23:59:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BLEFCUnwoBjq; Sun, 27 Mar 2016 23:59:34 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:793e:bab9:1cc9:7a02] (unknown [IPv6:2001:4cb8:3:1:793e:bab9:1cc9:7a02]) by smtp.digiware.nl (Postfix) with ESMTP id 52289153401; Sun, 27 Mar 2016 23:46:29 +0200 (CEST) Subject: Re: boost/asio/ip/resolver_query_base.hpp:96:3: warning: all paths through this function will call itself To: Dimitry Andric References: <56F58E3E.1090208@digiware.nl> Cc: toolchain@freebsd.org From: Willem Jan Withagen Organization: Digiware Management b.v. Message-ID: <56F854B3.30001@digiware.nl> Date: Sun, 27 Mar 2016 23:46:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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:59:47 -0000 On 27-3-2016 23:29, Dimitry Andric wrote: > On 25 Mar 2016, at 20:15, Willem Jan Withagen 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