Showing results for 2022 - Page 2 of 6 - C++ Team Blog

Nov 2, 2022
Post comments count0
Post likes count1

Fix for High Risk OpenSSL Security Vulnerabilities Announced – Guidance for vcpkg Users

Augustin Popa
Augustin Popa

OpenSSL.org announced the release of OpenSSL 3.0.7 to address two security vulnerabilities rated as high risk. This patch is now available, including via vcpkg. The vulnerabilities impact users of OpenSSL 3.0.0 - 3.0.6. If you are relying on a version of OpenSSL in this range, it is strongly recommended to upgrade to 3.0.7 as soon as possible. We a...

C++Vcpkg
Nov 1, 2022
Post comments count2
Post likes count2

Microsoft Office team uses Remote MacOS Debugging Capability in Visual Studio

Sinem Akinci
Sinem Akinci

The Microsoft Office team approached the C++ team after seeing the Visual Studio announcement for support for debugging applications running on C++ from Windows through the Blizzard blog post. They had a need for a similar workflow, but for Macs instead of Linux. The C++ team worked closely with the Office engineers to adapt the same underlying tec...

C++Linux
Oct 24, 2022
Post comments count6
Post likes count4

Improving Copy and Move Elision

Bran Hagger
Bran Hagger

With Visual Studio 2022 version 17.4 Preview 3, we've significantly increased the number of situations where we do copy or move elision and given users more control over whether these transformations are enabled. What are copy and move elision? When a keyword in a C++ function is followed by an expression of non-primitive type, the execution of ...

C++
Oct 6, 2022
Post comments count0
Post likes count1

vcpkg September 2022 Release is Now Available: Celebrating 6 Years with Over 2000 Libraries!

Augustin Popa
Augustin Popa

The September 2022 release of the vcpkg package manager is available. This blog post summarizes changes from August 15th, 2022 to September 27th, 2022 for the Microsoft/vcpkg and Microsoft/vcpkg-tool GitHub repos.   vcpkg now has over 2,000 unique libraries in its open-source registry With this release, and the 6th anniversary of the laun...

C++Vcpkg
Oct 3, 2022
Post comments count4
Post likes count1

Announcing NuGet PackageReference support for C++/CLI MSBuild projects targeting .NET Core and .NET 5 or higher

Augustin Popa
Augustin Popa

One of the new features for C++ developers in Visual Studio 2022 version 17.3 is NuGet PackageReference support for C++/CLI MSBuild projects that target .NET Core and .NET 5 or higher. More specifically, this impacts CLR Class Library (.NET) and CLR Empty Project (.NET) project templates. This functionality allows you to manage NuGet packages while...

C++Vcpkg
Sep 28, 2022
Post comments count6
Post likes count4

Using system package manager dependencies with vcpkg

Daniel Shaw
Daniel Shaw

According to the C++ 2022 developer survey, the top 3 ways to manage C++ libraries were having the library source code as part of the build, compiling the library separately from instructions, and acquiring the library from a system package manager. Language package managers, such as vcpkg, simplify library management by offering the ease of use of...

C++Vcpkg
Sep 21, 2022
Post comments count2
Post likes count3

A Visual Studio Debugger Extension for the Raspberry Pi Camera

Paul Maybee
Paul Maybee

While developing a sample application for a Raspberry Pi with a camera using the RaspiCam library, it occurred to me that it would be convenient and fun to be able to see the current camera input while debugging the application.  The Visual Studio debugger supports type-specific custom visualizers and end-user extensions that implement UI for these...

C++Linux
Sep 20, 2022
Post comments count3
Post likes count1

Microsoft C++ Code Analysis Warnings with Key Events

Hwi-sung Im
Hwi-sung Im

Introduction  To make your C++ coding experience as safe as possible, the Microsoft C++ Code Analysis has added new checks and improved existing ones to help you prevent bugs before they find their way into your products. Some of the checks work harder than others, analyzing the code deeper by simulating runtime behavior. As such, they can find de...

C++New Feature
Sep 16, 2022
Post comments count5
Post likes count3

The Future of C++ Compiler Diagnostics in MSVC and Visual Studio

Xiang Fan
Xiang Fan

We are working hard on improving the diagnostics experience in MSVC and Visual Studio. We began this work in Visual Studio 2022 version 17.3 and while not everything is ready yet, we would like to share the early progress. Motivation & Principles New C++ features like concepts and ranges present the opportunity for more expressive code an...

DiagnosticsC++
Sep 14, 2022
Post comments count2
Post likes count5

Dev Containers for C++ in Visual Studio

Marc Goodner
Marc Goodner

We are happy to share with you that we have added Dev Container support In Visual Studio 2022 17.4 for C++ projects using CMake Presets. Containers are a great way to package up everything for running an application. Through a Dockerfile all prerequisites are captured so that there is a consistent runtime environment anywhere the container is de...

C++