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

warning under gcc 10.1 #2110

Closed
user1095108 opened this issue May 15, 2020 · 1 comment
Closed

warning under gcc 10.1 #2110

user1095108 opened this issue May 15, 2020 · 1 comment
Labels
kind: bug solution: duplicate the issue is a duplicate; refer to the linked issue instead solution: proposed fix a fix for the issue has been proposed and waits for confirmation
Milestone

Comments

@user1095108
Copy link

json/single_include/nlohmann/json.hpp: In static member function 'static CharType nlohmann::detail::binary_writer<BasicJsonType, CharType>::to_char_type(uint8_t)':
json/single_include/nlohmann/json.hpp:12595:28: warning: 'template struct std::is_pod' is deprecated: use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
12595 | static_assert(std::is_pod::value, "CharType must be POD");

@nlohmann
Copy link
Owner

Duplicate of #2019, #1913, and fixed in develop branch and next release 3.8.0.

@nlohmann nlohmann added solution: duplicate the issue is a duplicate; refer to the linked issue instead solution: proposed fix a fix for the issue has been proposed and waits for confirmation labels May 15, 2020
@nlohmann nlohmann added this to the Release 3.8.0 milestone May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug solution: duplicate the issue is a duplicate; refer to the linked issue instead solution: proposed fix a fix for the issue has been proposed and waits for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants