Project

General

Profile

Actions

Bug #2270

closed

concepts.hpp does not compile on its own

Added by Junxiao Shi almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Utils
Target version:
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

Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Task #2271: Jenkins: verify every installed header compiles on its ownClosedJunxiao Shi

Actions
Actions

Also available in: Atom PDF