Project

General

Profile

Actions

Bug #3128

closed

Compilation fails with boost 1.59

Added by Ilya Moiseenko over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Utils
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

$ ./waf configure
Checking boost includes                               : 1.59.0 
Checking boost libs                                   : ok 
Checking for boost linkage                            : ok 
'configure' finished successfully (3.852s)

$ ./waf
[ 83/138] Compiling tools/ndnsec/main.cpp
In file included from ../tools/ndnsec/main.cpp:26:
/Users/ilmoisee/ndn-cxx/tools/ndnsec/util.hpp:226:14: error: allocating an object of abstract class type 'AccumulatorType<int>'
  return new AccumulatorType<T>(store);
             ^
/Users/ilmoisee/ndn-cxx/tools/ndnsec/list.hpp:121:19: note: in instantiation of function template specialization 'accumulator<int>' requested here
    ("verbose,v", accumulator<int>(&verboseLevel),
                  ^
/opt/local/include/boost/program_options/value_semantic.hpp:44:22: note: unimplemented pure virtual method 'adjacent_tokens_only' in 'AccumulatorType'
        virtual bool adjacent_tokens_only() const = 0;
                     ^
1 error generated.
Actions #1

Updated by Junxiao Shi over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Davide Pesavento over 9 years ago

could this be caused by some change in boost 1.59?

Actions #3

Updated by Ilya Moiseenko over 9 years ago

I think so

Actions #4

Updated by Alex Afanasyev over 9 years ago

  • Subject changed from Compilation fails for August 24th build to Compilation fails for with boost 1.59
  • Category set to Utils
  • Assignee set to Alex Afanasyev
  • Priority changed from Normal to High
  • Target version set to v0.4
  • Start date deleted (08/24/2015)

I can confirm that this is because of boost 1.59 (specifically, this commit introduces the problem https://github.com/boostorg/program_options/commit/88dea3c6fdea8c9ea894911897b1770599c383e4).

Actions #5

Updated by Alex Afanasyev over 9 years ago

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

Updated by Junxiao Shi over 9 years ago

  • Description updated (diff)
Actions #7

Updated by Davide Pesavento over 9 years ago

  • Subject changed from Compilation fails for with boost 1.59 to Compilation fails with boost 1.59
Actions #8

Updated by Alex Afanasyev over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF