Showing results for compiler - C++ Team Blog

Nov 15, 2023
1
1

C++ Extension in VS Code 1.18 Release: Quick Fixes for missing header files, Extract to Function & More 

Alexandra Kemper
Alexandra Kemper

The 1.18 version of the C++ Extension in Visual Studio Code has been released. With this version of the extension, we have added several new features such as:    For the full list of changes, please reference the 1.18 release notes.   Quick Fixes for missing header files  Have you ever written C++ code and forgotten to add the ...

C++
Dec 13, 2022
0
3

Improving the State of Debug Performance in C++

Cameron DaCamara
Cameron DaCamara

In this blog we will explore one change the MSVC compiler has implemented in an effort to improve the codegen quality of applications in debug mode. We will highlight what the change does, and how it could be extended for the future. If debug performance is something you care about for your C++ projects, then Visual Studio 2022 version 17.5 is maki...

AnnouncementC++New Feature
Jan 13, 2022
2
0

How we used C++20 to eliminate an entire class of runtime bugs

Cameron DaCamara
Cameron DaCamara

C++20 is here and has been supported in MSVC since 16.11, but today's post is not about how you can use it, but rather how we used it to effectively eliminate an entire class of runtime bugs by hoisting a check into compile-time. Let's get right into it! Humble beginnings In compiler design one of the very first things you need is a way to convey...

C++
Jun 4, 2018
0
0

Use Boost.Hana via vcpkg with the latest MSVC compiler

Ulzii Luvsanbat [MSFT]
Ulzii Luvsanbat [MSFT]

Overview As we continue to work towards improving the conformance of the MSVC compiler for the C++ community, we would like to enable more C++ libraries, and today we are bringing Boost.Hana to Visual C++.  Building on our recent C++ conformance progress, customers can now use Boost.Hana with the VS2017 15.7 update after we've applied some source ...

AnnouncementVcpkg
May 7, 2018
1
0

Announcing: MSVC Conforms to the C++ Standard

Ulzii Luvsanbat [MSFT]
Ulzii Luvsanbat [MSFT]

Achieving conformance with the C++ Standards has been a long road for the Visual C++ team. If you've seen us at any conferences lately, you've probably seen the MSVC Conformance slide. (You can grab a copy of the slide or watch the 2017 CppCon talk here.) Finishing the features on this slide – which includes features from C++11, C++14, and C++17 – ...

C++
Feb 22, 2016
0
1

New Options for Managing Character Sets in the Microsoft C/C++ Compiler

Jim Springfield
Jim Springfield

The Microsoft C/C++ compiler has evolved along with DOS, 16-bit Windows, and 32/64-bit Windows.  Its support for different characters sets, code pages, and Unicode has also changed during this time.  This post will explain how our compiler has worked in the past and also cover some new switches provided by the C/C++ compiler in Visual Studio 2015 U...

C++
Feb 11, 2016
0
0

Compiler improvements in VS 2015 Update 2

Andrew Pardoe
Andrew Pardoe

The C++ compiler team is excited for you to try out the compiler in Visual Studio 2015 Update 2 CTP 1. Since Update 1 we’ve made progress on being Standards-conformant for lot of C++11 and C++14 features. One particularly big milestone is that our standard library in Update 2 supports every C++ Standard Library feature that’s been voted into C++11,...

C++
Feb 8, 2016
0
0

What's inside a PDB File?

Jim Hogg
Jim Hogg

Background We have all used the Visual Studio Debugger to step through code, in the hunt for bugs.  For C or C++ code, that Debugger relies upon a file, with the extension ".pdb", called the "Program DataBase", or simply "the PDB".  The PDB is written by the Linker when you build your program; it contains line-number and symbols information. But wh...

C++
Feb 8, 2016
0
0

What’s inside a PDB File?

Jim Hogg
Jim Hogg

Background We have all used the Visual Studio Debugger to step through code, in the hunt for bugs.  For C or C++ code, that Debugger relies upon a file, with the extension ".pdb", called the "Program DataBase", or simply "the PDB".  The PDB is written by the Linker when you build your program; it contains line-number and symbols information. But w...

C++
Jan 20, 2016
0
0

Clang with Microsoft CodeGen (January 2016) released

Andrew Pardoe
Andrew Pardoe

We have just released an out-of-band update of Clang/C2 toolset that brings in some of the community fixes as well as bugs found from testing. This is one of many rapid releases to come in the future, and issues reported from customers will be addressed progressively. Here we only list the changes since the previous release, for a more detailed di...

Experimental