macos+python3.10.18+pyenv,安装vnpy_ctp 6.6.9 可以正常安装,安装6.7.11.4失败
macos+python3.12+pyenv,安装vnpy_ctp 6.6.9与6.7.11.4均失败

按照使用文档中(https://www.vnpy.com/docs/cn/community/install/mac_install.html)的方法进行安装的,xcode也安装了,根据ai的分析是因为部分cpp与macos中clang校验标准不一致导致的,有人能帮忙解答下吗?
另外用6.6.9时,GitHub(https://github.com/vnpy/vnpy)中依赖vnpy_ctp的部分(from vnpy_ctp import CtpGateway)也正常,界面可以展示出来。但没有试过这个功能是否正常。若在mac使用6.6.9的版本不知道有没有问题

% xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

The Meson build system
Version: 1.11.1
Project version: 6.7.11.4
C++ compiler for the host machine: c++ (clang 17.0.0 "Apple clang version 17.0.0 (clang-1700.6.3.2)")
C++ linker for the host machine: c++ ld64 1230.1
Host machine cpu: aarch64
[1/4] Compiling C++ object vnctpmd.cpython-310-darwin.so.p/vnpy_ctp_api_vnctp_vnctpmd_vnctpmd.cpp.o
FAILED: [code=1] vnctpmd.cpython-310-darwin.so.p/vnpy_ctp_api_vnctp_vnctpmd_vnctpmd.cpp.o
c++ -Ivnctpmd.cpython-310-darwin.so.p -I. -I.. -I../vnpy_ctp/api/include/mac -I../vnpy_ctp/api/vnctp -I/private/var/folders/9v/7h1ml2nn2dx2yjhk5wdnfr2w0000gn/T/pip-build-env-qm2eoevt/overlay/lib/python3.10/site-packages/pybind11/include -I/Users/hejy__/.pyenv/versions/3.10.18/include/python3.10 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -Wextra -std=c++17 -O3 -std=c++11 -mmacosx-version-min=10.12 -MD -MQ vnctpmd.cpython-310-darwin.so.p/vnpy_ctp_api_vnctp_vnctpmd_vnctpmd.cpp.o -MF vnctpmd.cpython-310-darwin.so.p/vnpy_ctp_api_vnctp_vnctpmd_vnctpmd.cpp.o.d -o vnctpmd.cpython-310-darwin.so.p/vnpy_ctp_api_vnctp_vnctpmd_vnctpmd.cpp.o -c ../vnpy_ctp/api/vnctp/vnctpmd/vnctpmd.cpp
In file included from ../vnpy_ctp/api/vnctp/vnctpmd/vnctpmd.cpp:4:
In file included from ../vnpy_ctp/api/vnctp/vnctpmd/vnctpmd.h:6:
../vnpy_ctp/api/vnctp/vnctp.h:168:13: warning: ISO C++11 does not allow conversion from string literal to 'char ' [-Wwritable-strings]
168 |
pout = "\0";
| ^
../vnpy_ctp/api/vnctp/vnctp.h:176:15: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
176 | char temp[length];
| ^~
../vnpy_ctp/api/vnctp/vnctp.h:176:15: note: read of non-const variable 'length' is not allowed in a constant expression
../vnpy_ctp/api/vnctp/vnctp.h:175:9: note: declared here
175 | int length = gb2312.size() * 2 + 1;
| ^
......
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed