Skip to content

Usage of Botan v3.x along with project implemented with c++14 #3631

Answered by reneme
omaralam96 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@omaralam96
Comment options

@reneme
Comment options

@omaralam96
Comment options

@reneme
Comment options

Answer selected by omaralam96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants