Specify Compiler Version #758
|
Is there a way to specify a particular version of a compiler to use in the |
Answered by
ken-matsui
May 8, 2023
Replies: 2 comments 6 replies
Answer selected by
oraqlle
|
I think |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@oraqlle No since we can specify the C++ version in
edition. Poac automatically detects whether or not your compiler supports the specified edition. If your edition is 2020 but your GCC is 7, then the compilation fails. The logic is here:https://github.com/poac-dev/poac/blob/dd9d13f594a1069ac4c034dc85b047758d276c9c/lib/core/builder/compiler/cxx/gcc.cc#L76-L86