Project

General

Profile

Actions

Bug #4908

closed

Macro name conflict

Added by Ryan Wickman almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Start date:
04/06/2019
Due date:
% Done:

100%

Estimated time:

Description

In src/common.hpp the macros (e.g., PUBLIC_WITH_TESTS_ELSE_PRIVATE) conflict with the ones found in the other projects, such as ndn-tools. So if you try to build ndn-tools with tests and NAC, the tests compilation will produce an error since they will try to use the private members of a class (which should be public).

To resolve this issue, prefix the macros with NAC_.

Actions

Also available in: Atom PDF