Skip to content

Commit 5ad9696

Browse files
author
Colin Robertson
authored
Merge pull request #773 from corob-msft/cr-toc-missing
Add topics created earlier to relevant TOCs
2 parents ef70f5e + 0b2fe6f commit 5ad9696

File tree

11 files changed

+49
-89
lines changed

11 files changed

+49
-89
lines changed

docs/build/reference/TOC.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251
### [/PDBALTPATH (Use Alternate PDB Path)](pdbaltpath-use-alternate-pdb-path.md)
252252
### [/PDBSTRIPPED (Strip Private Symbols)](pdbstripped-strip-private-symbols.md)
253253
### [/PGD (Specify Database for Profile-Guided Optimizations)](pgd-specify-database-for-profile-guided-optimizations.md)
254+
### [/POGOSAFEMODE](../../build/reference/pogosafemode-linker-option.md)
254255
### [/PROFILE (Performance Tools Profiler)](profile-performance-tools-profiler.md)
255256
### [/RELEASE (Set the Checksum)](release-set-the-checksum.md)
256257
### [/SAFESEH (Image has Safe Exception Handlers)](safeseh-image-has-safe-exception-handlers.md)
@@ -262,6 +263,7 @@
262263
### [/TLBID (Specify Resource ID for TypeLib)](tlbid-specify-resource-id-for-typelib.md)
263264
### [/TLBOUT (Name .TLB File)](tlbout-name-dot-tlb-file.md)
264265
### [/TSAWARE (Create Terminal Server Aware Application)](tsaware-create-terminal-server-aware-application.md)
266+
### [/USEPROFILE](../../build/reference/useprofile.md)
265267
### [/VERBOSE (Print Progress Messages)](verbose-print-progress-messages.md)
266268
### [/VERSION (Version Information)](version-version-information.md)
267269
### [/WHOLEARCHIVE (Include All Library Object Files)](wholearchive-include-all-library-object-files.md)

docs/build/reference/linker-options.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ You can use the [comment](../../preprocessor/comment-c-cpp.md) pragma to specify
103103
|[/PDBALTPATH](../../build/reference/pdbaltpath-use-alternate-pdb-path.md)|Uses an alternate location to save a PDB file.|
104104
|[/PDBSTRIPPED](../../build/reference/pdbstripped-strip-private-symbols.md)|Creates a program database (PDB) file that has no private symbols.|
105105
|[/PGD](../../build/reference/pgd-specify-database-for-profile-guided-optimizations.md)|Specifies a .pgd file for profile-guided optimizations.|
106+
|[/POGOSAFEMODE](../../build/reference/pogosafemode-linker-option.md)|**Obsolete** Creates a thread-safe PGO instrumented build.|
106107
|[/PROFILE](../../build/reference/profile-performance-tools-profiler.md)|Produces an output file that can be used with the Performance Tools profiler.|
107108
|[/RELEASE](../../build/reference/release-set-the-checksum.md)|Sets the Checksum in the .exe header.|
108109
|[/SAFESEH](../../build/reference/safeseh-image-has-safe-exception-handlers.md)|Specifies that the image will contain a table of safe exception handlers.|
@@ -114,6 +115,7 @@ You can use the [comment](../../preprocessor/comment-c-cpp.md) pragma to specify
114115
|[/TLBID](../../build/reference/tlbid-specify-resource-id-for-typelib.md)|Specifies the resource ID of the linker-generated type library.|
115116
|[/TLBOUT](../../build/reference/tlbout-name-dot-tlb-file.md)|Specifies the name of the .tlb file and other MIDL output files.|
116117
|[/TSAWARE](../../build/reference/tsaware-create-terminal-server-aware-application.md)|Creates an application that is designed specifically to run under Terminal Server.|
118+
|[/USEPROFILE](../../build/reference/useprofile.md)|Uses profile-guided optimization training data to create an optimized image.|
117119
|[/VERBOSE](../../build/reference/verbose-print-progress-messages.md)|Prints linker progress messages.|
118120
|[/VERSION](../../build/reference/version-version-information.md)|Assigns a version number.|
119121
|[/WHOLEARCHIVE](../../build/reference/wholearchive-include-all-library-object-files.md)|Includes every object file from specified static libraries.|

docs/error-messages/compiler-errors-1/TOC.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
## [Fatal Error C1046](fatal-error-c1046.md)
3131
## [Fatal Error C1047](fatal-error-c1047.md)
3232
## [Fatal Error C1051](fatal-error-c1051.md)
33+
## [Fatal Error C1052](fatal-error-c1052.md)
3334
## [Fatal Error C1053](fatal-error-c1053.md)
3435
## [Fatal Error C1054](fatal-error-c1054.md)
3536
## [Fatal Error C1055](fatal-error-c1055.md)
@@ -107,6 +108,7 @@
107108
## [Fatal Error C1506](fatal-error-c1506.md)
108109
## [Fatal Error C1508](fatal-error-c1508.md)
109110
## [Fatal Error C1509](fatal-error-c1509.md)
111+
## [Fatal Error C1510](fatal-error-c1510.md)
110112
## [Fatal Error C1601](fatal-error-c1601.md)
111113
## [Fatal Error C1602](fatal-error-c1602.md)
112114
## [Fatal Error C1603](fatal-error-c1603.md)
@@ -474,6 +476,7 @@
474476
## [Compiler Error C2426](compiler-error-c2426.md)
475477
## [Compiler Error C2427](compiler-error-c2427.md)
476478
## [Compiler Error C2428](compiler-error-c2428.md)
479+
## [Compiler Error C2429](compiler-error-c2429.md)
477480
## [Compiler Error C2430](compiler-error-c2430.md)
478481
## [Compiler Error C2431](compiler-error-c2431.md)
479482
## [Compiler Error C2432](compiler-error-c2432.md)

docs/error-messages/compiler-errors-1/compiler-error-c2429.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22
title: "Compiler Error C2429 | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/16/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-tools"]
8-
ms.tgt_pltfrm: ""
96
ms.topic: "error-reference"
107
f1_keywords: ["C2429"]
118
dev_langs: ["C++"]
129
helpviewer_keywords: ["C2429"]
1310
ms.assetid: 57ff6df9-5cf1-49f3-8bd8-4e550dfd65a0
14-
caps.latest.revision: 9
1511
author: "corob-msft"
1612
ms.author: "corob"
17-
manager: "ghogen"
1813
ms.workload: ["cplusplus"]
1914
---
2015
# Compiler Error C2429

docs/error-messages/compiler-errors-1/compiler-errors-c2400-through-c2499.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ ms.suite: ""
77
ms.technology: ["cpp-tools"]
88
ms.tgt_pltfrm: ""
99
ms.topic: "error-reference"
10-
f1_keywords: ["C2416", "C2429", "C2442", "C2453", "C2454", "C2455", "C2456", "C2468", "C2475", "C2478", "C2481", "C2497"]
11-
helpviewer_keywords: ["C2416", "C2429", "C2442", "C2453", "C2454", "C2455", "C2456", "C2468", "C2475", "C2478", "C2481", "C2497"]
10+
f1_keywords: ["C2416", "C2442", "C2453", "C2454", "C2455", "C2456", "C2468", "C2475", "C2478", "C2481", "C2497"]
11+
helpviewer_keywords: ["C2416", "C2442", "C2453", "C2454", "C2455", "C2456", "C2468", "C2475", "C2478", "C2481", "C2497"]
1212
dev_langs: ["C++"]
1313
ms.assetid: f1f05572-af0b-497b-bde4-4c81ec01af3b
1414
caps.latest.revision: 14
@@ -56,7 +56,7 @@ The articles in this section of the documentation explain a subset of the error
5656
|[Compiler Error C2426](compiler-error-c2426.md)|'*token*': illegal operator in '*context*'|
5757
|[Compiler Error C2427](compiler-error-c2427.md)|'*class*': cannot define class in this scope|
5858
|[Compiler Error C2428](compiler-error-c2428.md)|'*operation*': not allowed on operand of type 'bool'|
59-
|Compiler Error C2429|*Context* '*context*' requires compiler flag '*option*'|
59+
|[Compiler Error C2429](compiler-error-c2429.md)|'*language feature*' requires compiler flag '*compiler option*'|
6060
|[Compiler Error C2430](compiler-error-c2430.md)|more than one index register in '*context*'|
6161
|[Compiler Error C2431](compiler-error-c2431.md)|illegal index register in '*context*'|
6262
|[Compiler Error C2432](compiler-error-c2432.md)|illegal reference to 16-bit data in '*context*'|

docs/error-messages/compiler-errors-1/fatal-error-c1052.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,18 @@ f1_keywords: ["C1052"]
1111
dev_langs: ["C++"]
1212
helpviewer_keywords: ["C1052"]
1313
ms.assetid: f2c09a2f-d3c1-4420-9501-ffcb65caf87b
14-
caps.latest.revision: 0
1514
author: "corob-msft"
1615
ms.author: "corob"
17-
manager: "ghogen"
1816
ms.workload: ["cplusplus"]
1917
---
20-
# Fatal Error C1052
21-
22-
> program database file, '*filename*', was generated by the linker with /DEBUG:fastlink; compiler cannot update such PDB files; please delete it or use /Fd to specify a different PDB filename
23-
24-
The compiler cannot update the same program database (PDB) files which are generated by the linker when the [/DEBUG:fastlink](../../build/reference/debug-generate-debug-info.md) option is specified. Normally the compiler-generated PDB files and the linker-generated PDB files have different names. However, if they are set to use the same names, this error can result.
25-
26-
To fix this issue, you can explicitly delete the PDB files before you compile again, or you can create different names for the compiler-generated and linker-generated PDB files.
27-
28-
To specify the compiler-generated PDB file name on the command line, use the [/Fd](../../build/reference/fd-program-database-file-name.md) compiler option. To specify the compiler-generated PDB file name in the IDE, open the **Property Pages** dialog for your project, and in the **Configuration Properties**, **C/C++**, **Output Files** page, set the **Program Database File Name** property. By default, this property is `$(IntDir)vc$(PlatformToolsetVersion).pdb`.
29-
30-
Alternatively, you can set the linker-generated PDB file name. To specify the linker-generated PDB file name on the command line, use the [/PDB](../../build/reference/pdb-use-program-database.md) linker option. To specify the linker-generated PDB file name in the IDE, open the **Property Pages** dialog for your project, and in the **Configuration Properties**, **Linker**, **Debugging** page, set the **Generate Program Database File** property. By default, this property is set to `$(OutDir)$(TargetName).pdb`.
18+
# Fatal Error C1052
19+
20+
> program database file, '*filename*', was generated by the linker with /DEBUG:fastlink; compiler cannot update such PDB files; please delete it or use /Fd to specify a different PDB filename
21+
22+
The compiler cannot update the same program database (PDB) files which are generated by the linker when the [/DEBUG:fastlink](../../build/reference/debug-generate-debug-info.md) option is specified. Normally the compiler-generated PDB files and the linker-generated PDB files have different names. However, if they are set to use the same names, this error can result.
23+
24+
To fix this issue, you can explicitly delete the PDB files before you compile again, or you can create different names for the compiler-generated and linker-generated PDB files.
25+
26+
To specify the compiler-generated PDB file name on the command line, use the [/Fd](../../build/reference/fd-program-database-file-name.md) compiler option. To specify the compiler-generated PDB file name in the IDE, open the **Property Pages** dialog for your project, and in the **Configuration Properties**, **C/C++**, **Output Files** page, set the **Program Database File Name** property. By default, this property is `$(IntDir)vc$(PlatformToolsetVersion).pdb`.
27+
28+
Alternatively, you can set the linker-generated PDB file name. To specify the linker-generated PDB file name on the command line, use the [/PDB](../../build/reference/pdb-use-program-database.md) linker option. To specify the linker-generated PDB file name in the IDE, open the **Property Pages** dialog for your project, and in the **Configuration Properties**, **Linker**, **Debugging** page, set the **Generate Program Database File** property. By default, this property is set to `$(OutDir)$(TargetName).pdb`.

docs/error-messages/compiler-errors-2/TOC.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
## [Compiler Error C2669](compiler-error-c2669.md)
128128
## [Compiler Error C2670](compiler-error-c2670.md)
129129
## [Compiler Error C2671](compiler-error-c2671.md)
130+
## [Compiler Error C2672](compiler-error-c2672.md)
130131
## [Compiler Error C2673](compiler-error-c2673.md)
131132
## [Compiler Error C2674](compiler-error-c2674.md)
132133
## [Compiler Error C2675](compiler-error-c2675.md)
@@ -684,6 +685,7 @@
684685
## [Compiler Error C3418](compiler-error-c3418.md)
685686
## [Compiler Error C3420](compiler-error-c3420.md)
686687
## [Compiler Error C3421](compiler-error-c3421.md)
688+
## [Compiler Error C3445](compiler-error-c3445.md)
687689
## [Compiler Error C3446](compiler-error-c3446.md)
688690
## [Compiler Error C3450](compiler-error-c3450.md)
689691
## [Compiler Error C3451](compiler-error-c3451.md)
@@ -756,6 +758,7 @@
756758
## [Compiler Error C3610](compiler-error-c3610.md)
757759
## [Compiler Error C3611](compiler-error-c3611.md)
758760
## [Compiler Error C3612](compiler-error-c3612.md)
761+
## [Compiler Error C3615](compiler-error-c3615.md)
759762
## [Compiler Error C3618](compiler-error-c3618.md)
760763
## [Compiler Error C3619](compiler-error-c3619.md)
761764
## [Compiler Error C3622](compiler-error-c3622.md)

docs/error-messages/compiler-errors-2/compiler-error-c3445.md

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,55 @@
22
title: "Compiler Error C3445 | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "04/10/2017"
5-
ms.reviewer: ""
6-
ms.suite: ""
75
ms.technology: ["cpp-tools"]
8-
ms.tgt_pltfrm: ""
96
ms.topic: "article"
107
f1_keywords: ["C3445"]
118
dev_langs: ["C++"]
129
helpviewer_keywords: ["C3445"]
1310
ms.assetid: 0d272bfc-136b-4025-a9ba-5e4eea5f8215
14-
caps.latest.revision: 3
1511
author: "corob-msft"
1612
ms.author: "corob"
17-
manager: "ghogen"
1813
ms.workload: ["cplusplus"]
1914
---
2015
# Compiler Error C3445
21-
copy-list-initialization of '*type*' cannot use an explicit constructor
22-
23-
According to the ISO C++17 standard, the compiler is required to consider an explicit constructor for overload resolution in copy-list-initialization, but must raise an error if that overload is actually chosen.
24-
16+
17+
> copy-list-initialization of '*type*' cannot use an explicit constructor
18+
19+
According to the ISO C++17 standard, the compiler is required to consider an explicit constructor for overload resolution in copy-list-initialization, but must raise an error if that overload is actually chosen.
20+
2521
Starting in Visual Studio 2017, the compiler finds errors related to object creation by using an initializer list that were not found by Visual Studio 2015. These errors could lead to crashes or undefined behavior at runtime.
2622

27-
## Example
28-
The following sample generates C3445.
29-
30-
```cpp
31-
// C3445.cpp
23+
## Example
24+
25+
The following sample generates C3445.
26+
27+
```cpp
28+
// C3445.cpp
3229
struct A
3330
{
34-
explicit A(int) {}
31+
explicit A(int) {}
3532
A(double) {}
3633
};
3734

3835
int main()
3936
{
40-
A a1 = { 1 }; // error C3445: copy-list-initialization of
37+
A a1 = { 1 }; // error C3445: copy-list-initialization of
4138
// 'A' cannot use an explicit constructor
4239
}
43-
```
44-
45-
To correct the error, use direct initialization instead:
46-
47-
```cpp
48-
// C3445b.cpp
40+
```
41+
42+
To correct the error, use direct initialization instead:
43+
44+
```cpp
45+
// C3445b.cpp
4946
struct A
5047
{
51-
explicit A(int) {}
48+
explicit A(int) {}
5249
A(double) {}
5350
};
5451
5552
int main()
5653
{
5754
A a1{ 1 };
58-
}
59-
```
60-
55+
}
56+
```

docs/error-messages/compiler-errors-2/compiler-errors-c3400-through-c3499.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The articles in this section of the documentation explain a subset of the error
7272
|Compiler Error C3442|Initializing multiple members of union: '*member1*' and '*member2*'|
7373
|Compiler Error C3443|The default member initializer for '*class*' is recursive|
7474
|Compiler Error C3444|Empty aggregate class '*class*' must be initialized with '{}'|
75-
|Compiler Error C3445|copy-list-initialization of '*type*' cannot use an explicit constructor|
75+
|[Compiler Error C3445](compiler-error-c3445.md)|copy-list-initialization of '*type*' cannot use an explicit constructor|
7676
|[Compiler Error C3446](compiler-error-c3446.md)|'*class*': a default member initializer is not allowed for a member of a value class|
7777
|Compiler Error C3447|Obsolete.|
7878
|Compiler Error C3448|Obsolete.|

docs/error-messages/compiler-warnings/TOC.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
## [Compiler Warning (level 1) C4461](compiler-warning-level-1-c4461.md)
305305
## [Compiler Warning (level 1) C4462](compiler-warning-level-1-c4462.md)
306306
## [Compiler Warning (level 4) C4463](compiler-warning-level-4-c4463.md)
307-
## [Compiler warning (level 4) C4464](c4464.md)
307+
## [Compiler warning (level 4) C4464](C4464.md)
308308
## [Compiler Warning (level 1) C4470](compiler-warning-level-1-c4470.md)
309309
## [Compiler Warning (level 4) C4471](compiler-warning-level-4-c4471.md)
310310
## [Compiler Warning (level 1) C4473](c4473.md)
@@ -506,6 +506,7 @@
506506
## [Compiler Warning (level 1) C4829](compiler-warning-level-1-c4829.md)
507507
## [Compiler Warning (level 1) C4835](compiler-warning-level-1-c4835.md)
508508
## [Compiler Warning (level 1) C4838](compiler-warning-level-1-c4838.md)
509+
## [Compiler Warning (level 3) C4839](compiler-warning-level-3-c4839.md)
509510
## [Compiler Warning C4867](compiler-warning-c4867.md)
510511
## [Compiler Warning C4868](compiler-warning-c4868.md)
511512
## [Compiler Warning (level 1) C4900](compiler-warning-level-1-c4900.md)

0 commit comments

Comments
 (0)