Project

General

Profile

Actions

Bug #2265

closed

nfd-face-flags.hpp does not compile on its own

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

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

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Junxiao Shi about 10 years ago

  • Blocks Task #2271: Jenkins: verify every installed header compiles on its own added
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Status changed from New to Rejected

This file isn't installed by the latest ndn-cxx.

It was left over from a previous installation that I didn't clean up during my tests.

Actions

Also available in: Atom PDF