Actions
Bug #2264
closedstream-transport.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/transport/stream-transport.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/transport/stream-transport.hpp:37:21: error: ‘Block’ was not declared in this scope
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:37:26: error: template argument 1 is invalid
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:37:26: error: template argument 2 is invalid
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:40:56: error: ‘boost::asio’ has not been declared
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:40:72: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:24: error: ‘system’ in namespace ‘boost’ does not name a type
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:49: error: expected unqualified-id before ‘&’ token
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:49: error: expected ‘)’ before ‘&’ token
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:39: error: expected ‘;’ at end of member declaration
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:51: error: expected ‘;’ at end of member declaration
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:50:56: error: expected unqualified-id before ‘)’ token
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:335:1: error: expected ‘}’ at end of input
/usr/local/include/ndn-cxx/transport/stream-transport.hpp: In constructor ‘ndn::StreamTransportImpl<BaseTransport, Protocol>::StreamTransportImpl(BaseTransport&, int)’:
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:41:7: error: class ‘ndn::StreamTransportImpl<BaseTransport, Protocol>’ does not have any field named ‘m_transport’
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:42:7: error: class ‘ndn::StreamTransportImpl<BaseTransport, Protocol>’ does not have any field named ‘m_socket’
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:42:16: error: ‘ioService’ was not declared in this scope
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:43:7: error: class ‘ndn::StreamTransportImpl<BaseTransport, Protocol>’ does not have any field named ‘m_inputBufferSize’
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:44:7: error: class ‘ndn::StreamTransportImpl<BaseTransport, Protocol>’ does not have any field named ‘m_connectionInProgress’
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:45:7: error: class ‘ndn::StreamTransportImpl<BaseTransport, Protocol>’ does not have any field named ‘m_connectTimer’
/usr/local/include/ndn-cxx/transport/stream-transport.hpp: At global scope:
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:47:3: error: expected unqualified-id at end of input
/usr/local/include/ndn-cxx/transport/stream-transport.hpp:47:3: error: expected ‘}’ at end of input
Actions