Actions
Bug #3358
closedClang's infinite-recursion warning/error from Boost 1.55 (default on FreeBSD)
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.
Updated by Junxiao Shi about 9 years ago
Can we mark the problematic Boost header as "system library" to suppress this warning, instead of changing compiler flags?
Updated by Alex Afanasyev about 9 years ago
We can, just a little more complicated to implement.
Updated by Alex Afanasyev about 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Similar patch needs to be applied to NFD and other code bases.
Updated by Junxiao Shi over 8 years ago
- Tracker changed from Task to Bug
Updated by Alex Afanasyev almost 8 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Actions