Usage of Botan v3.x along with project implemented with c++14 #3631
-
Would be any problems popped up for me during inclusion header of botan or usage of this library along with project has a constraint of usage only C++14 ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
GCC 12 should be enough to build Botan 3.x. Nevertheless, the library uses C++20 features (eg. Anyway, as long as you don't require new features added in Botan 3.x, you could stay on Botan 2.x that is a C++11 code base. Support and security fixes -- if necessary -- will be available until at least the end of next year. |
Beta Was this translation helpful? Give feedback.
GCC 12 should be enough to build Botan 3.x. Nevertheless, the library uses C++20 features (eg.
std::span
and concepts) in the public headers. If your code base is restricted to C++14 that will likely be a problem, as long as you don't want to wrap things into your own interface or use Botan's C-Bindings.Anyway, as long as you don't require new features added in Botan 3.x, you could stay on Botan 2.x that is a C++11 code base. Support and security fixes -- if necessary -- will be available until at least the end of next year.