Skip to content

Commit d55ac59

Browse files
authored
Merge pull request MicrosoftDocs#794 from MicrosoftDocs/master
5/7 AM Publish
2 parents 7019081 + 0cab762 commit d55ac59

File tree

1,604 files changed

+639
-8755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,604 files changed

+639
-8755
lines changed

docs/cpp-conformance-improvements-2017.md

Lines changed: 22 additions & 178 deletions
Large diffs are not rendered by default.

docs/docfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"ms.topic": "conceptual",
3838
"audience": "developer",
3939
"ms.prod": "visual-cpp",
40-
"ms.tgt_pltfrm": "Windows",
40+
"ms.tgt_pltfrm": "",
4141
"searchScope": ["C++"]
4242
},
4343
"fileMetadata": {},

docs/how-to-report-a-problem-with-the-visual-cpp-toolset.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
22
title: "How to Report a Problem with the Visual C++ Toolset | Microsoft Docs"
33
ms.date: "1/11/2018"
4-
ms.technology: ["cpp"]
5-
ms.tgt_pltfrm: ""
6-
ms.topic: "article"
4+
ms.technology: ["cpp-ide"]
5+
ms.topic: "conceptual"
76
dev_langs: ["C++"]
87
author: "corob-msft"
98
ms.author: "corob"
10-
manager: "ghogen"
119
ms.workload: ["cplusplus"]
1210
---
1311
# How to Report a Problem with the Visual C++ Toolset
@@ -100,21 +98,21 @@ A repro is a complete, self-contained source code example that reproducibly demo
10098

10199
A good repro is:
102100

103-
- **Minimal.** Repros should be as small as possible yet still demonstrate exactly the problem you encountered. Repros do not need to be complex or realistic; they only need to show code that conforms to the Standard or the documented compiler implementation, or in the case of a missing diagnostic, the code that is not conformant. Simple, to-the-point repros that contain just enough code to demonstrate the problem are best. If you can eliminate or simplify the code and remain conformant and also leave the issue unchanged, please do so. You do not need to include counter-examples of code that works.
101+
- **Minimal.** Repros should be as small as possible yet still demonstrate exactly the problem you encountered. Repros do not need to be complex or realistic; they only need to show code that conforms to the Standard or the documented compiler implementation, or in the case of a missing diagnostic, the code that is not conformant. Simple, to-the-point repros that contain just enough code to demonstrate the problem are best. If you can eliminate or simplify the code and remain conformant and also leave the issue unchanged, please do so. You do not need to include counter-examples of code that works.
104102

105103
- **Self-Contained.** Repros should avoid unnecessary dependencies. If you can reproduce the problem without third-party libraries, please do so. If you can reproduce the problem without any library code besides simple output statements (for example, `puts("this shouldn't compile");`, `std::cout << value;`, and `printf("%d\n", value);` are okay), please do so. It's ideal if the example can be condensed to a single source code file, without reference to any user headers. Reducing the amount of code we have to consider as a possible contributor to the problem is enormously helpful to us.
106104

107105
- **Against the latest compiler version.** Repros should use the most recent update to the latest version of the toolset, or the most recent prerelease version of the next update or next major release, whenever possible. Problems you may encounter in older versions of the toolset have very often been fixed in newer versions. Fixes are backported to older versions only in exceptional circumstances.
108106

109107
- **Checked against other compilers** if relevant. Repros that involve portable C++ code should verify behavior against other compilers if possible. The Standard ultimately determines program correctness, and no compiler is perfect, but when Clang and GCC accept your code without a diagnostic and MSVC does not, it's likely you're looking at a bug in our compiler. (Other possibilities include differences in Unix and Windows behavior, or different levels of C++ standards implementation, and so on.) On the other hand, if all the compilers reject your code, then it's likely that your code is incorrect. Seeing different error messages may help you diagnose the issue yourself.
110108

111-
You can find lists of online compilers to test your code against in [Online C++ compilers](https://isocpp.org/blog/2013/01/online-c-compilers) on the ISO C++ website, or this curated [List of Online C++ Compilers](https://arnemertz.github.io/online-compilers/) on GitHub. Some specific examples include [Wandbox](https://wandbox.org/), [Compiler Explorer](https://godbolt.org/), and [Coliru](http://coliru.stacked-crooked.com/).
109+
You can find lists of online compilers to test your code against in [Online C++ compilers](https://isocpp.org/blog/2013/01/online-c-compilers) on the ISO C++ website, or this curated [List of Online C++ Compilers](https://arnemertz.github.io/online-compilers/) on GitHub. Some specific examples include [Wandbox](https://wandbox.org/), [Compiler Explorer](https://godbolt.org/), and [Coliru](http://coliru.stacked-crooked.com/).
112110

113111
> [!NOTE]
114112
> The online compiler websites are not affiliated with Microsoft. Many online compiler websites are run as personal projects, and some of these sites may not be available when you read this, but a search should find others you can use.
115113
116114
Problems in the compiler, linker, and in the libraries, tend to show themselves in particular ways. The kind of problem you encounter will determine what kind of repro you should include in your report. Without an appropriate repro, we have nothing to investigate. Here are a few of the kinds of issues that you may see, and instructions for generating the kinds of repros you should use to report each kind of problems.
117-
115+
118116
#### Frontend (parser) crash
119117

120118
Frontend crashes occur during the parsing phase of the compiler. Typically, the compiler will emit [Fatal Error C1001](error-messages/compiler-errors-1/fatal-error-c1001.md) and reference the source code file and line number on which the error occurred; it will often mention a file msc1.cpp, but you can ignore this detail.

docs/porting/binary-compat-2015-2017.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2017 | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "09/21/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["binary compatibility, Visual C++"]
129
ms.assetid: 591580f6-3181-4bbe-8ac3-f4fbaca949e6
13-
caps.latest.revision: 17
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2017

docs/porting/fix-your-dependencies-on-library-internals.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Fix your dependencies on library internals | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "05/24/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["library internals in an upgraded Visual C++ project", "_Hash_seq in an upgraded Visual C++ project"]
129
ms.assetid: 493e0452-6ecb-4edc-ae20-b6fce2d7d3c5
13-
caps.latest.revision: 1
1410
author: "corob-msft"
1511
ms.author: "corob"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Fix your dependencies on library internals

docs/porting/floating-point-migration-issues.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Floating-point migration issues | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "05/17/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: 36a1b552-2f2b-4919-bc9d-c17f42434954
12-
caps.latest.revision: 1
139
author: "corob-msft"
1410
ms.author: "corob"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Floating-point migration issues

docs/porting/how-to-use-existing-cpp-code-in-a-universal-windows-platform-app.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "How to: Use Existing C++ Code in a Universal Windows Platform App | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: 87e5818c-3081-42f3-a30d-3dca2cf0645c
12-
caps.latest.revision: 5
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# How to: Use Existing C++ Code in a Universal Windows Platform App

docs/porting/introduction-to-visual-cpp-for-unix-users.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Introduction to Visual C++ for UNIX Users | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "09/01/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["UNIX [C++]"]
129
ms.assetid: 36108b31-e7fa-49a8-a1f7-7077fcbec873
13-
caps.latest.revision: 13
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Introduction to Visual C++ for UNIX Users

docs/porting/modifying-winver-and-win32-winnt.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Modifying WINVER and _WIN32_WINNT | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "09/04/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["WINVER in an upgraded Visual C++ project", "_WIN32_WINNT in an upgraded Visual C++ project"]
129
ms.assetid: 6a1f1d66-ae0e-48a7-81c3-524d8e8f3447
13-
caps.latest.revision: 17
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Modifying WINVER and _WIN32_WINNT

docs/porting/overview-of-potential-upgrade-issues-visual-cpp.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
title: "Overview of potential upgrade issues (Visual C++) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.tgt_pltfrm: ""
8-
ms.topic: "article"
5+
ms.topic: "conceptual"
96
ms.assetid: 2c99a8cb-098f-4a9d-bf2c-b80fd06ace43
10-
caps.latest.revision: 5
117
author: "mikeblome"
128
ms.author: "mblome"
13-
manager: "ghogen"
149
ms.workload: ["cplusplus"]
1510
---
1611
# Overview of potential upgrade issues (Visual C++)

docs/porting/porting-and-upgrading-examples-and-case-studies.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Porting and Upgrading: Examples and Case Studies | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: d48bbff9-1ea7-467f-8c8b-758601f01573
12-
caps.latest.revision: 5
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Porting and Upgrading: Examples and Case Studies

docs/porting/porting-data-applications.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: Porting Data Applications | Microsoft Docs
33
ms.custom: ""
44
ms.date: "05/12/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["devlang-cpp"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["MFC [C++], data access applications", "databases [C++], MFC", "OLE DB [C++], data access technologies", "data [C++], data access technologies", "data access [C++], class libraries for databases"]
129
ms.assetid: 8d10c285-c13f-4e6e-a09e-5ee0f2666b44
13-
caps.latest.revision: 0
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914

docs/porting/porting-from-unix-to-win32.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Porting from UNIX to Win32 | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["APIs [C++], porting to Win32", "Windows API [C++], migrating from UNIX", "migration [C++]", "UNIX [C++], porting to Win32", "porting to Win32 [C++], from UNIX", "porting to Win32 [C++]", "Win32 applications [C++], migrating from UNIX"]
129
ms.assetid: 3837e4fe-3f96-4f24-b2a1-7be94718a881
13-
caps.latest.revision: 15
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Porting from UNIX to Win32

docs/porting/porting-guide-com-spy.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Porting Guide: COM Spy | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: 24aa0d52-4014-4acb-8052-f4e2e4bbc3bb
12-
caps.latest.revision: 10
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Porting Guide: COM Spy

docs/porting/porting-guide-mfc-scribble.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Porting Guide: MFC Scribble | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: 8ddb517d-89ba-41a1-ab0d-4d2c6d9047e8
12-
caps.latest.revision: 5
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Porting Guide: MFC Scribble

docs/porting/porting-guide-spy-increment.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Porting Guide: Spy++ | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: e558f759-3017-48a7-95a9-b5b779d5e51d
12-
caps.latest.revision: 17
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Porting Guide: Spy++

docs/porting/porting-third-party-libraries.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Porting Third-Party Libraries | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "01/10/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["3rd-party libraries", "vspkg"]
129
ms.assetid: b055ed20-8a9e-45b2-ac2a-e3d94271c009
13-
caps.latest.revision: 0
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914

docs/porting/porting-to-the-universal-windows-platform-cpp.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@
22
title: "Porting to the Universal Windows Platform (C++) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
ms.assetid: f662d2e4-8940-418d-8109-cb76cb8f8569
12-
caps.latest.revision: 14
139
author: "mikeblome"
1410
ms.author: "mblome"
15-
manager: "ghogen"
1611
ms.workload: ["cplusplus"]
1712
---
1813
# Porting to the Universal Windows Platform (C++)

docs/porting/upgrade-your-code-to-the-universal-crt.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
title: "Upgrade your code to the Universal CRT | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "03/31/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
7-
ms.tgt_pltfrm: ""
8-
ms.topic: "article"
5+
ms.topic: "conceptual"
96
ms.assetid: eaf34c1b-da98-4058-a059-a10db693a5ce
10-
caps.latest.revision: 1
117
author: "corob-msft"
128
ms.author: "corob"
13-
manager: "ghogen"
149
ms.workload: ["cplusplus"]
1510
---
1611
# Upgrade your code to the Universal CRT

docs/porting/upgrading-projects-from-earlier-versions-of-visual-cpp.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Upgrading Projects from Earlier Versions of Visual C++ | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["32-bit code porting", "upgrading Visual C++ applications, 32-bit code"]
129
ms.assetid: 18cdacaa-4742-43db-9e4c-2d9e73d8cc84
13-
caps.latest.revision: 36
1410
author: "mikeblome"
1511
ms.author: "mblome"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Upgrading Projects from Earlier Versions of Visual C++

docs/porting/use-native-multi-targeting.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
title: "Use native multi-targeting in Visual Studio to build old projects | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-language"]
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "article"
6+
ms.topic: "conceptual"
107
dev_langs: ["C++"]
118
helpviewer_keywords: ["C++ native multi-targeting", "upgrading Visual C++ applications, retargeting"]
129
ms.assetid: b115aabe-a9dc-4525-90d3-367d97ea20c9
13-
caps.latest.revision: 2
1410
author: "corob-msft"
1511
ms.author: "corob"
16-
manager: "ghogen"
1712
ms.workload: ["cplusplus"]
1813
---
1914
# Use native multi-targeting in Visual Studio to build old projects

0 commit comments

Comments
 (0)