升级到 macOS Ventura 后,使用 VS Code,C++,GCC 编译器:/usr/local/bin/g++,我收到这个致命错误:
from /usr/local/Cellar/gcc/12.2.0/include/c++/12/iosfwd:40,
from /usr/local/Cellar/gcc/12.2.0/include/c++/12/ios:38,
from /usr/local/Cellar/gcc/12.2.0/include/c++/12/ostream:38,
from /usr/local/Cellar/gcc/12.2.0/include/c++/12/iostream:39,
/usr/local/Cellar/gcc/12.2.0/include/c++/12/cwchar:44:10: fatal error: wchar.h: No such file or directory
44 | #include <wchar.h>