You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select "Clang 9.0.0 for MSVC with Visual Studio 2017 Desktop Express Release" kit
Build
The compiler produces the following error
[build] ..\test.cpp(2,12): error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
[build] return nullptr;
[build] ^~~~~~~
[build] 1 error generated.
The error should be also shown in the problems window
Apparent Behavior:
The compile error isn't shown in the problems window. If you open test.cpp by the editor, an error appears but the message is different. It works fine with "Visual Studio 2017 Desktop Express Release" kits.
Platform and Versions
Operating System: Windows
CMake Version: 3.18.0
VSCode Version: 1.51.0
CMake Tools Extension Version: 1.5.1
Compiler/Toolchain: Clang 9.0.0 with Visual C++ 2017 Express
The text was updated successfully, but these errors were encountered:
Brief Issue Summary
Whereas errors produced by compiler should be transferred to the problems window, this feature doesn't work properly with clang-cl.
Expected:
Apparent Behavior:
The compile error isn't shown in the problems window. If you open test.cpp by the editor, an error appears but the message is different. It works fine with "Visual Studio 2017 Desktop Express Release" kits.
Platform and Versions
The text was updated successfully, but these errors were encountered: