Closed
Description
Description
json_fwd.hpp now has a line:
#include <nlohmann/detail/abi_macros.hpp>
which means this file is no longer standalone. This makes it no longer possible to have a simple 2-file installation, with just json_fwd.hpp and the large single json.hpp.
This seems to be related to #3590
Reproduction steps
json_fwd.hpp now has a new external file dependency.
Expected vs. actual results
Expected:
Be able to have json_fwd.hpp standalone with no dependencies.
Actual:
json_fwd.hpp has an include file, so it can't be used by itself anymore.
Minimal code example
any code that wants to only do:
#include "json_fwd.hpp"
Error messages
can't find include file 'nlohmann/detail/abi_macros.hpp'
Compiler and operating system
any
Library version
3.11.1
Validation
- The bug also occurs if the latest version from the
develop
branch is used. - I can successfully compile and run the unit tests.