================ @@ -47,6 +47,10 @@ static llvm::Expected<bool> *g_fcxx_modules_workaround [[maybe_unused]]; // Include python for non windows machines #include <Python.h> + +// Provide a meaningful diagnostic error if someone tries to compile this file +// with a version of Python we don't support. +static_assert(PY_VERSION_HEX >= 0x03000000, "LLDB requires Python 3.0"); ---------------- DavidSpickett wrote:
"at least Python 3.0" https://github.com/llvm/llvm-project/pull/114346 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits