Project

General

Profile

Actions

Bug #2269

closed

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

Added by Junxiao Shi almost 10 years ago. Updated almost 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

Also available in: Atom PDF