Showing results for Diagnostics - C++ Team Blog

Dec 13, 2017
1
1

Broken Warnings Theory

Yuriy Solodkyy
Yuriy Solodkyy

Перевод статьи на русском The "broken warnings theory" is a fictional theory of the norm-setting and signaling effect of coding practices and bug-checking techniques in 3rd party libraries on new bugs and design anti-patterns. The theory states that maintaining and monitoring warning levels to prevent small problems such as "signed/unsigned mism...

New FeatureDiagnosticsExperimental
Jul 21, 2017
0
0

Diagnostic Improvements in Visual Studio 2017 15.3.0

Yuriy Solodkyy
Yuriy Solodkyy

This post as well as described diagnostics significantly benefited from the feedback by Mark, Xiang, Stephan, Marian, Gabriel, Ulzii, Steve and Andrew. Visual Studio 2017 15.3.0 release comes with a number of improvements to the Microsoft Visual C++ compiler's diagnostics. Most of these improvements are in response to the diagnostics improvement...

DiagnosticsWriting Code
Jul 13, 2017
5
0

Precompiled Header (PCH) issues and recommendations

Ulzii Luvsanbat [MSFT]
Ulzii Luvsanbat [MSFT]

This post written by Mark Hall, Xiang Fan, Yuriy Solodkyy, Bat-Ulzii Luvsanbat, and Andrew Pardoe. Precompiled headers can reduce your compilation times significantly. They’ve worked reliably for millions of developers since they were introduced 25 years ago to speed up builds of MFC apps. Precompiled headers are widely used: they are enabled by...

C++DiagnosticsExperimental
Jun 22, 2015
1
0

Format Specifiers Checking

Yuriy Solodkyy
Yuriy Solodkyy

By popular request, in Visual Studio 2015 RTM, we’ve implemented the checking of arguments given to printf/scanf and their variations in the C standard library. You can try the examples from this post in our online compiler.SummaryHere is a list of all the formatting warnings that were introduced: positional arguments in _p functions , and we...

Diagnostics