Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error for std::int64 #282

Closed
felipezacani opened this issue Jul 15, 2016 · 3 comments
Closed

Build error for std::int64 #282

felipezacani opened this issue Jul 15, 2016 · 3 comments
Assignees
Milestone

Comments

@felipezacani
Copy link

When building on Windows with clang, clang defaults to Visual Studio (Windows SDK) headers. There is no int64 defined inside the std namespace.

As specified in http://en.cppreference.com/w/cpp/types/integer, those int64 types (lines 209 and 210) are not defined in std, but open in cstdint.

@gregmarr
Copy link
Contributor

std::int64_t is defined in std, but in the <cstdint> header, which isn't currently included.
Should just be able to add that header.

@nlohmann nlohmann self-assigned this Jul 15, 2016
@nlohmann nlohmann added this to the Release 2.0.2 milestone Jul 15, 2016
@nlohmann
Copy link
Owner

Thanks for reporting!

@felipezacani
Copy link
Author

No problem, thanks to you for the best json C++ lib!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants