MacOS系统。仅在我打开JetBrains终端时显示。使用iTerm等终端软件时,不会出现该错误。
我发现其他一些人在Xcode中遇到了相同的问题。像这个: xcodebuild failure clang:error no such file or directory: 但是它基于Xcode,不适合我。
clang: error: no such file or directory: 'example.cpp'
clang: error: no such file or directory: '"\e\e[C":forward-word'
clang: error: no input files
clang: error: no such file or directory: 'example.cpp'
clang: error: no such file or directory: '"\e\e[D": backward-word'
clang: error: no input files
clang: error: no such file or directory: 'example.cpp'
clang: error: no such file or directory: '"\e\O[C":forward-word'
clang: error: no input files
clang: error: no such file or directory: 'example.cpp'
clang: error: no such file or directory: '"\e\O[D": backward-word'
clang: error: no input files