Project

General

Profile

Actions

Bug #2269

closed

sec-tpm-osx.hpp does not compile on its own

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
12/03/2014
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

Snippet:

#include <ndn-cxx/security/sec-tpm-osx.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/security/sec-tpm-osx.hpp:30:2: error: #error "This files should not be compiled ..."

This header is inapplicable on non-OSX platform so it should not be installed.


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

  • Status changed from New to In Progress
  • Assignee set to Junxiao Shi
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi about 10 years ago

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

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF