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

Wdeprecated-declarations from GCC v10.1.0 #2109

Closed
dpellegr opened this issue May 14, 2020 · 3 comments
Closed

Wdeprecated-declarations from GCC v10.1.0 #2109

dpellegr opened this issue May 14, 2020 · 3 comments
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

@dpellegr
Copy link

Including json.hpp v3.7.3 and compiling with g++ v10.1.0 using -std=c++20, triggers the following warning:

json.hpp:12595:28: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: 
use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
12595 |         static_assert(std::is_pod<CharType>::value, "CharType must be POD");
@dpellegr dpellegr changed the title Wdeprecated-declarations from g++ v10.1.0 Wdeprecated-declarations from GCC v10.1.0 May 14, 2020
@nlohmann
Copy link
Owner

Duplicate of #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 14, 2020
@nlohmann nlohmann added this to the Release 3.8.0 milestone May 14, 2020
@dpellegr
Copy link
Author

Sorry, quickly I browsed the open issues, then I tried the wrong keywords for the closed ones and #1913 did not came up. Good that it has been done already.

@nlohmann
Copy link
Owner

No worries. It's time that 3.8.0 is released...

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