Project

General

Profile

Actions

Bug #3358

closed

Clang's infinite-recursion warning/error from Boost 1.55 (default on FreeBSD)

Added by Alex Afanasyev almost 9 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
12/04/2015
Due date:
% Done:

100%

Estimated time:
Tags:

Description

clang 3.7 generates a warning (in debug mode: error):

/usr/local/include/boost/asio/ip/resolver_query_base.hpp:96:3: warning: all paths through this function will call itself [-Winfinite-recursion]

This is a valid complaint, which has been addressed in boost version >= 1.55 (https://svn.boost.org/trac/boost/ticket/9548). However, I would still propose to not treat this warning as error in debug builds.

This applies to ndn-cxx, NFD, NLSR, and may be other projects.

Actions

Also available in: Atom PDF