Actions
Bug #4547
closedBuild fails with clang-5.0
Start date:
Due date:
% Done:
100%
Estimated time:
Description
https://travis-ci.org/named-data/NLSR/jobs/352498816
../src/nlsr.cpp:168:19: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
uri.canonize([this, then, currentNeighbor] (ndn::FaceUri canonicalUri) {
^
../src/nlsr.cpp:174:8: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
[this, then, currentNeighbor] (const std::string& reason) {
^
2 errors generated.
Updated by Ashlesh Gawande over 6 years ago
- Status changed from New to In Progress
Updated by Nicholas Gordon over 6 years ago
Well this one looks correct, actually. There isn't a use of 'this' in those lambdas--it compiles on clang 3.9.1. I wonder why the other compilers didn't complain about it.
Updated by Ashlesh Gawande over 6 years ago
- Status changed from In Progress to Closed
- Target version set to v0.5.0
- % Done changed from 0 to 100
Updated by Saurab Dulal over 6 years ago
- Target version changed from v0.5.0 to 0.4.3
Actions