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

with C++20 #219

Open
1574354102 opened this issue May 9, 2022 · 1 comment
Open

with C++20 #219

1574354102 opened this issue May 9, 2022 · 1 comment

Comments

@1574354102
Copy link

VS2019, use C++20:
std::is_pod_v can't be used, compilation failed.
And in VS2019, use C++17:
need to #define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS, otherwise compilation failed.
Looking forward to updating,thanks.

@1574354102 1574354102 changed the title bug with C++20 with C++20 May 9, 2022
@codethinki
Copy link

Yout don't need to silence all deprecation warnings
#define _SILENCE_CXX20_CODECVT_FACETS_DEPRECATION_WARNING is enough.
Also, they can't just add this define because you need to know that it's using deprecated stuff.
Regarding the std::is_pod_v thing idk what you mean by that because ofc sqlite::database is not a POD (plain old data) type.

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

No branches or pull requests

2 participants