Poac package build C++ standard #647
|
Does poac build packages against the standard specified for the package which can be sperate for the project building them (similar to Cargo) or are they all built using the current projects specified standard? |
Answered by
ken-matsui
Jul 11, 2022
Replies: 2 comments 2 replies
|
This is also not implemented, but I plan to implement the following.
Case [package]
edition = ">=2011 and <2020" # This package uses `std::return_temporary_buffer` which was removed since C++20 |
2 replies
Answer selected by
oraqlle
|
Implemented in #1383. See |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is also not implemented, but I plan to implement the following.
Case
1is similar to Cargo, but2is not.If the current project's standard (the
editionkey) is older than the header-only dependencies' standards, then Poac will emit an error.However, since
editionwhich is implicitly the minimum required version is confusing, it might be better to be able to specify a supported standard range like dependencies: