Skip to content

Apple build failed with json/single_include/nlohmann/json.hpp:4384:57: 'path' is unavailable #3097

Closed
@tongyuze

Description

@tongyuze

What is the issue you have?

I just updated the json.hpp from version 3.9.1 to 3.10.4. And the newest version failed the Mac/iOS build with the error:
"json/single_include/nlohmann/json.hpp:4384:57: 'path' is unavailable"
This happened during compilation.

Please describe the steps to reproduce the issue.

Can you provide a small but working code example?

What is the expected behavior?

Build should succeed.

And what is the actual behavior instead?

Build failed with the above error.

Which compiler and operating system are you using?

  • Compiler: com.apple.compilers.llvm.clang.1_0.compiler
  • Operating system: macOS 11.6

Which version of the library did you use?

  • latest release version 3.10.4

If you experience a compilation error: can you compile and run the unit tests?

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions