Actions
Bug #2270
closedconcepts.hpp does not compile on its own
Start date:
12/03/2014
Due date:
% Done:
100%
Estimated time:
0.50 h
Description
Snippet:
#include <ndn-cxx/util/concepts.hpp>
Compile using: g++ x.cpp -c --std=c++0x $(pkg-config --cflags --libs libndn-cxx)
Expected: code compiles without error
Actual:
In file included from ndncxx-header-standalone-compile.cpp:1:0:
/usr/local/include/ndn-cxx/util/concepts.hpp: In destructor ‘ndn::WireDecodable<X>::~WireDecodable()’:
/usr/local/include/ndn-cxx/util/concepts.hpp:46:5: error: ‘Block’ was not declared in this scope
/usr/local/include/ndn-cxx/util/concepts.hpp:46:11: error: expected ‘;’ before ‘block’
/usr/local/include/ndn-cxx/util/concepts.hpp:47:9: error: ‘block’ was not declared in this scope
/usr/local/include/ndn-cxx/util/concepts.hpp: In destructor ‘ndn::Hashable<X>::~Hashable()’:
/usr/local/include/ndn-cxx/util/concepts.hpp:60:5: error: ‘uint8_t’ was not declared in this scope
/usr/local/include/ndn-cxx/util/concepts.hpp:60:14: error: ‘buf’ was not declared in this scope
Actions