

Therefore, you generate a “clean” build, without the Microsoft customizations, which is by default licensed under the MIT license

When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license. When we build Visual Studio Code, we do exactly this. According to this comment from a Visual Studio Code maintainer: "/Library/Developer/CommandLineTools/SDKs/MacOSX.Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking. "preLaunchTask": "C/C++: clang++ build active file" Which I definitely did do as you can see in the tasks.json file I linked below, so I don't see what the problem could be.

Make sure to replace the entire contents of your task.json file with the code block provided in the Build helloworld.cpp section. By default, clang++ uses the C++98 standard, which doesn't support the initialization used in helloworld.cpp. If you see build errors mentioning "C++11 extensions", you may not have updated your task.json build task to use the clang++ argument -std=c++17.

The guide itself even provides the following related help at the bottom. I have looked at many other stack overflow posts claiming that clang++ is defaulting to c++03 whereas I need to be using c++11, however the guide above uses Range-based for loop is a C++11 extension However as soon as I add the "launch.json" file outlined in "Debug helloworld.cpp" everything stops working and I get the following errors as soon as I try to debug. Everything works fine until I reach the step "Debug helloworld.cpp", I am able to use the "tasks.json" file to build the.
