-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Bad clang binary" with Clang 12 installed from MSYS2 #1916
Comments
Did some debugging, apparently function vscode-cmake-tools/src/triple.ts Lines 161 to 169 in c93c1a7
Local variables have the following values:
What happens (If i got it correclty) is that |
Fixes microsoft#1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Fixes microsoft#1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Fixes microsoft#1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Fixes microsoft#1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Fixes microsoft#1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Fixes #1916 Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Brief Issue Summary
CMate tools is unable to parse clang 12 installed from msys2 (both packages mingw-w64-clang-x86_64-clang and mingw-w64-x86_64-clang), giving the following error:
By manually adding a kit for this compiler, everything works properly:
Expected:
Apparent Behavior:
CMake Tools Log
Developer Tools Log
Platform and Versions
Other Notes/Information
This is clang version reported:
The text was updated successfully, but these errors were encountered: