Showing results for April 2018 - C++ Team Blog

Apr 24, 2018
0
0

Announcing a single C++ library manager for Linux, macOS and Windows: Vcpkg

EricMittelette
EricMittelette

At Microsoft, the core of our vision is “Any Developer, Any App, Any Platform” and we are committed to bringing you the most productive development tools and services to build your apps across all platforms. With this in mind, we are thrilled to announce today the availability of vcpkg on Linux and MacOS. This gives you immediate access to the ...

AnnouncementNew FeatureVcpkg
Apr 20, 2018
0
0

Spectre diagnostic in Visual Studio 2017 Version 15.7 Preview 4

Andrew Pardoe
Andrew Pardoe

Visual Studio 2017 version 15.7 Preview 4 adds a new capability to our Spectre mitigation: the ability to see where the compiler would have inserted a mitigation and what data led to that action. A new warning, C5045, lets you see what patterns in your code would have caused a mitigation, such as an LFENCE, to be inserted. This change builds ...

C++
Apr 9, 2018
1
0

IntelliSense for Remote Linux Headers

Marc Goodner
Marc Goodner

In Visual Studio 2017 15.7 Preview 3 we are introducing IntelliSense for headers on remote Linux connections. This is part of the Linux development with C++ workload that you can choose in the Visual Studio installer. If you are just getting started with the C++ Linux support in Visual Studio you can read our C++ Linux tutorial at aka.ms/vslinux. ...

C++
Apr 9, 2018
0
0

Announcing CodeLens for C++ Unit Testing

Nick Uhlenhuth
Nick Uhlenhuth

If you are just getting started with unit testing in C++, visit our testing startup guide. C++ developers in Visual Studio can now get their first taste of CodeLens! Specifically, Visual Studio 2017 15.7 Preview 3 Professional and Enterprise editions offer CodeLens for Unit Testing. There are a few ways to initialize CodeLens: After ...

C++
Apr 9, 2018
0
0

Spectre mitigation changes in Visual Studio 2017 Version 15.7 Preview 3

Andrew Pardoe
Andrew Pardoe

With Visual Studio 2017 version 15.7 Preview 3 we have two new features to announce with regards to our Spectre mitigations. First, the /Qspectre switch is now supported regardless of the selected optimization level. Second, we have provided Spectre-mitigated implementations of the Microsoft Visual C++ libraries. Complete details are available in ...

C++
Apr 9, 2018
0
0

C++ code analysis: configure rules from the command line

Andrew Pardoe
Andrew Pardoe

This post written by Sunny Chatterjee and Andrew Pardoe Visual Studio version 15.7 Preview 3 introduces a new MSVC compiler switch, , that configures code analysis runs. The primary motivation for this switch is to enable developers who are using C++ Code Analysis without using MSBuild to filter rules. But developers who are using code analysis ...

C++
Apr 9, 2018
3
0

MSVC now correctly reports __cplusplus

Andrew Pardoe
Andrew Pardoe

The MSVC compiler’s definition of the predefined macro leaps ahead 20 years in Visual Studio 2017 version 15.7 Preview 3. This macro has stubbornly remained at the value "199711L", indicating (erroneously!) that the compiler conformed to the C++98 Standard. Now that our conformance catch-up work is drawing to a close we’re updating the macro ...

C++