Project

General

Profile

Actions

Bug #4278

closed

Build fails with clang-5.0

Added by Davide Pesavento over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Due to a new -Wunused-lambda-capture warning.

../tools/nfd-autoreg.cpp:216:8: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
      [this] (uint32_t code, const std::string& reason) {});
       ^
1 error generated.

../tests/daemon/mgmt/face-manager-update-face.t.cpp:127:8: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
      [this, req, &hasCallbackFired, &checkResp] (const Data& response) {
       ^
1 error generated.

...and many more.


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Bug #4277: Build fails with clang-5.0ClosedDavide Pesavento

Actions
Actions #1

Updated by Davide Pesavento over 6 years ago

  • Related to Bug #4277: Build fails with clang-5.0 added
Actions #2

Updated by Davide Pesavento over 6 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Davide Pesavento over 6 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF