Microsoft C++ docs: What's new for November 2023 to June 2024
This article lists major changes to the Microsoft C++ docs for November 2023 to June 2024.
- For what was new in the docs in previous months, see What's new history.
- For what's new related to C++ in Visual Studio, see What's new for C++ in Visual Studio.
- For the latest C and C++ conformance with ISO standards status, see C++ conformance improvements in Visual Studio.
C/C++ compiler intrinsics and assembly language
Updated articles
- ARM64 intrinsics - added entries to table for new arm64 intrinsics
Active Template Library (ATL), Microsoft Foundation Classes (MFC)
Updated articles
- Setting the Dialog Box's Background Color - add code example for setting a dialog box's background color
- Unicode and Multibyte Character Set (MBCS) Support - Clarified MBCS support in unicode-and-multibyte-character-set-mbcs-support.md
C/C++ projects and build systems
New articles
- /ARM64XFUNCTIONPADMINX64 (Minimum x64 function padding)
- /NOFUNCTIONPADSECTION (Disable function padding)
/experimental:log
(Structured SARIF diagnostics)/feature
(ARM64)/LINKREPROFULLPATHRSP
(Generate file containing absolute paths of linked files)/Qspectre-jmp
/volatileMetadata
(Generate metadata on volatile memory accesses)- Structured SARIF Diagnostics
- Tutorial: Troubleshoot function inlining on build time
- Tutorial: Troubleshoot header file impact on build time
Updated articles
- /LARGEADDRESSAWARE (Handle Large Addresses) - largeaddressaware:no isn't recommended for 64-bit apps
- /Qspectre - New /QSpectre flag
/arch
(ARM64) - document __arm_arch macro- Advanced Property Page - add SARIF diagnostics documentation
- Linker options
- new flag: /LINKREPROFULLPATHRSP
- new linker switches for 17.8
- Linking - new linker switches for 17.8
C language
New articles
Updated articles
- C Keywords - conformance updates
- C Type Specifiers - conformance updates
Code quality
New articles
- Warning C26459
- Warning C26837
- Warning C26861
- Warning C26862
- Warning C26863
- Warning C26864
- Warning C6392
- Warning C6393
- Warning C6394
- Warning C6396
- Warning C6397
- Warning C6398
Updated articles
- Using Clang-Tidy in Visual Studio - fixed code example
- Warning C6031 - fix some code examples
- Warning C6059 - add heuristics
- Warning C6201 - add heuristics
C++ in Visual Studio
Updated articles
break
statement (C++) - doc fix- Examples of Lambda Expressions - fixed code example
- Inline functions (C++) - address mistakes in inline functions cpp and remove content contrasting inline functions and macros
Cross platform development
Updated articles
- Install cross-platform mobile development with C++ - updates regarding Xamarin
C runtime library
Updated articles
- Translation mode constants - clarify that
_O_TEXT
is ANSI
C/C++ compiler and tools errors and warnings
New articles
- Compiler Error C2323
- Compiler Warning (level 1) C5072
- Compiler Warning (level 4) C5266
- Compiler warning (level 4) C5267
- Linker tools warning LNK4306
- Linker tools warning LNK4307
- Microsoft C/C++ compiler warnings C5000 through C5199
- Microsoft C/C++ compiler warnings C5200 through C5399
Updated articles
- Updated several compiler error and warning topics to include or refine examples.
C++ in Visual Studio tutorials
Updated articles
Read and write code using C++ in Visual Studio
New articles
Updated articles
- Walkthrough: Deploying Your Program (C++) - update steps
Linux with C++ in Visual Studio
Updated articles
C/C++ in Visual Studio overview
New articles
Updated articles
- C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2022 - updates for 17.10, added
_alignof
- Microsoft C++ docs: What's new for August 2023 to November 2023
- What's new for C++ in Visual Studio 2022 - updates for 17.10
C++ porting and upgrade guide
Updated articles
- C++ binary compatibility between Visual Studio versions - clarify linking binaries built with different versions of the toolset
C/C++ preprocessor reference
Updated articles
- Compiler warnings that are off by default - add new warning for VS 17.6 - C5266 & C5267 and add warning level info
- Predefined macros - documented
__arm_arch
macro
Overview of Windows programming in C++
Updated articles
- ClickOnce Deployment for Visual C++ Applications - fixed code example
- Microsoft Visual C++ Redistributable latest supported downloads - note 2013 no longer supported and other updates
What's new history
This section lists major changes to the Microsoft C++ docs for August 2023 to early November 2023.
Active Template Library (ATL), Microsoft Foundation Classes (MFC)
Updated articles
- CComDynamicUnkArray Class - updated remarks
C/C++ projects and build systems
New articles
/ifcMap
/Zc:checkGwOdr
(Enforce Standard C++ ODR violations under/Gw
)- /KERNEL (Create kernel mode binary)
Updated articles
- Configure CMake debugging sessions - updated screenshots.
/permissive-
(Standards conformance) - reflect new behavior as of 17.6/Zc:externConstexpr
(Enable extern constexpr variables) - reflect new behavior as of 17.6- Overview of ARM64EC ABI conventions - ppdated register mapping for integer registers table
/DEBUG
(Generate debug info) - correct documentation for/DEBUG:FASTLINK
and/DEBUG
Code quality
New articles
Updated articles
- How to specify additional code information by using
_Analysis_assume_
- updated remarks
Clarified behavior for the following warnings:
C++ in Visual Studio
New articles
Updated articles
alignas
(C++) - updated remarks- if-else statement (C++) - improved code examples
- __fastcall - added info about classes, structs, and unions
decltype
(C++) - fixed code example- noreturn - improved example
C runtime library
Updated articles
fegetround
,fesetround
- noted change of values forFE_UPWARD
andFE_DOWNWARD
C/C++ compiler and tools errors and warnings
Updated articles
Clarified behavior for the following warnings:
- Compiler Error C2018, Compiler Error C2023
- Compiler Error C2024, Compiler Error C2049
- Compiler Error C2058, Compiler Error C2061
- Compiler Error C2082, Compiler Error C2129
- Compiler Error C2345, Compiler Error C2397
- Compiler Error C2510, Compiler Error C2534
- Compiler Error C2993, Compiler Error C3550
- Compiler Error C3551
Read and write code using C++ in Visual Studio
New articles
- Clean up C/C++ includes in Visual Studio
- Configure C/C++ Include Cleanup in Visual Studio
- Include Cleanup messages
lnt-make-member-function-const
lnt-naming-convention
C/C++ in Visual Studio overview
Updated articles
- C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2022 - added conformance updates for 17.7 and 17.8.
- What's new for C++ in Visual Studio 2022 - updated what's new in C++.
C++ Standard Template Library (STL) reference
Updated articles
- auto_ptr class - added deprecation info
Active Template Library (ATL), Microsoft Foundation Classes (MFC)
Updated articles
- Connection maps - corrected parameter description of
pRefCount
inAfxConnection(Un)Advise
CSimpleStringT
Class - updated code example- MFC class hierarchy chart - updated MFC hierarchy chart