Actions
Bug #2379
closedBuild error in examples/ndn-custom-apps/custom-app.cpp
Start date:
01/14/2015
Due date:
% Done:
0%
Estimated time:
Description
Platform: Ubuntu 12.04 64-bit with Boost 1.48
ndn-cxx version: a90ba482597d899fe638993f257ec83e4eca4524
ns-3 version: fc42a8acb9d3763dd89ea826dafdeaabb2f21963
ndnSIM version: ab933c620a929135eb261fd36201cb0f1dd7c401
[1209/2532] cxx: src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp -> build/src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp.4.o
../src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp: In member function ‘virtual void ns3::CustomApp::OnInterest(std::shared_ptr<const ndn::Interest>)’:
../src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp:103:36: error: ‘<::’ cannot begin a template-argument list [-fpermissive]
../src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp:103:36: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’
../src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp:103:36: note: (if you use ‘-fpermissive’ G++ will accept your code)
Waf: Leaving directory `/home/shijunxiao/ndn-cxx-breaks/repos/ns-3/build'
Build failed
-> task in 'ndn-custom-apps' failed (exit status 1):
{task 53246544: cxx custom-app.cpp -> custom-app.cpp.4.o}
['/usr/bin/g++', '-std=c++0x', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-fPIC', '-I.', '-I..', '-Isrc/ndnSIM', '-I../src/ndnSIM', '-Isrc/ndnSIM/NFD', '-I../src/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/daemon', '-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/core', '-I../src/ndnSIM/NFD/core', '-I/usr/local/include', '-I/usr/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_NDN_CXX=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp', '-c', '-o', 'src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp.4.o']
Actions