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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 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 |
Beta Was this translation helpful? Give feedback.
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: