sqlite_modern_cpp icon indicating copy to clipboard operation
sqlite_modern_cpp copied to clipboard

with C++20

Open 1574354102 opened this issue 2 years ago • 1 comments

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 avatar May 09 '22 01:05 1574354102

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.

codethinki avatar Dec 15 '23 19:12 codethinki