Actions
Bug #2265
closednfd-face-flags.hpp does not compile on its own
Start date:
12/03/2014
Due date:
% Done:
0%
Estimated time:
0.50 h
Description
Snippet:
#include <ndn-cxx/management/nfd-face-flags.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/management/nfd-face-flags.hpp:50:6: error: multiple definition of ‘enum ndn::nfd::FaceScope’
/usr/local/include/ndn-cxx/management/../encoding/nfd-constants.hpp:34:6: error: previous definition here
/usr/local/include/ndn-cxx/management/nfd-face-flags.hpp:66:6: error: multiple definition of ‘enum ndn::nfd::FacePersistency’
/usr/local/include/ndn-cxx/management/../encoding/nfd-constants.hpp:48:6: error: previous definition here
/usr/local/include/ndn-cxx/management/nfd-face-flags.hpp:85:6: error: multiple definition of ‘enum ndn::nfd::LinkType’
/usr/local/include/ndn-cxx/management/../encoding/nfd-constants.hpp:65:6: error: previous definition here
Actions