Specify Compiler Version #758
-
Is there a way to specify a particular version of a compiler to use in the |
Beta Was this translation helpful? Give feedback.
Answered by
ken-matsui
May 8, 2023
Replies: 1 comment 6 replies
-
@oraqlle No since we can specify the C++ version in poac/lib/core/builder/compiler/cxx/gcc.cc Lines 76 to 86 in dd9d13f |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
oraqlle
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:poac/lib/core/builder/compiler/cxx/gcc.cc
Lines 76 to 86 in dd9d13f