Skip to content

Commit 6a7f777

Browse files
Taojunshencolin-homeopbld16opbld15opbld17
authored
9/8/2022 AM Publish (#4508)
* crtsetdbgflag.md: _CrtCheckMemory is not called by default * Visual C++ 17.0 has unlimited string literals * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording * Update .openpublishing.publish.config.json * Repo sync for protected CLA branch (#4061) * add initial doc stubs * Initial docs push, contains stubs for some files and a stub for a landing page * update some links * add more cards and links to the Hub page * fix error * remove monikor's so it's easy to test, fix rtos-view.md path * fix link * add more to the sidebar * update peripheral view by consolidating to the table, change things to objects in rtos-view * add tabs * forgot to end tabbed section * fix items after adding tabs * update h1 * slightly fix some wording * add link from C++ and C workloads, features, and libraries to embedded hub * move into own directory so that the url is better * fix some warnings * remove next steps that pointed to linux items * prefer tabbed view vs table * attempt to add moniker * attempt highest moniker in range * assign to a specific version * push again to get new build * add '=' sign to try and test it * add metadata for msvc-170 * add moniker range for index.yml * remove inline moniker since we only need it on the files themselves * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown * Edit pass for house style * add 'while debugging' for peripheral-view * Fix table issue, stray punctuation Co-authored-by: Garrett Campbell <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: Alma Jenks <[email protected]> * Update ios-functions.md fix typo (#4071) showps→showpos * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4442) * 7/27/2022 AM Publish (#4432) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * 7/28/2022 AM Publish (#4437) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * 7/29/2022 AM Publish (#4441) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> Co-authored-by: Alma Jenks <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * Address cpp-docs 4075 __assume issues * Address cpp-docs 4072 clarity issue * update date * Update multithreading-and-locales.md Wrong `setlocale()` reference, it should be a C runtime function, not a preprocessor macro. * Update for consistent branding. * Update peripheral view docs (#4444) * 7/27/2022 AM Publish (#4432) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * 7/28/2022 AM Publish (#4437) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * 7/29/2022 AM Publish (#4441) * Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main) (#4430) * 7/19/2022 AM Publish (#4424) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/20/2022 AM Publish (#4426) * Follow up 4221 Acrolinx score for TN035 * Fix heading style Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * 7/21/2022 AM Publish (#4427) * Follow up 4221 Acrolinx score for TN035 * Fix heading style * Update C++-specific template info * Fix links to raw and rendered markdown Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> * crtsetdbgflag.md: _CrtCheckMemory is not called by default Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> * wordsmith * clarify wording * wording Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> * add search/filter capability to peripheral view docs * add last column bar * Fixing alt-text Co-authored-by: Alma Jenks <[email protected]> Co-authored-by: Taojunshen <[email protected]> Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> Co-authored-by: Regan Downer <[email protected]> * Update the ARM64EC-related predefined macros * Update modules tutorial style * Updates for v17.3 * fix copypasta error * Fix dates * Add suggested fixes to corouptines warning * fix uppercase letter fix uppercase letter * fix github #4089 * acrolinx * wording change (#4467) Co-authored-by: TylerMSFT <[email protected]> * fix: ordered list #4055 * Describe why we add (STL) to the C++ Standard Library name (#4469) * wording change * address github 4092 * some acrolinx * update wording * a little more wordsmithing * fix github #4096 and follow up on PR feedback * acrolinx * pr feedback * fix line spacing * line spacing * really fixing line spacing... Co-authored-by: TylerMSFT <[email protected]> * Update link to LibFuzzer documentation Old link was to an ancient LLVM version which said that Windows wasn't supported * add naming note * style update * explain what the freestanding library is * Update Fatal Errors for VS2022 * Split up message text by source * wordsmith * typo * try table * try 3 columns * headers * headings * update headers * update headings * try to nullify warning * Split C999 from C1000, C1999, format table * Fixed inconsistent spelling of "newline" "newline" was spelled as "new-line" two out of four times in the document. * Missing error articles C2000-C2099 * Respelled "newline" as "new-line" * C26472 doc: gsl:narrow throws rather than crashes * Update intrinsic.md Remove extra '\' in the last row of tables, which actually show up in the doc. * C26475 doc: gsl:narrow throws rather than crashes * C26472 doc: Update style * draft to address github #4107 * acrolinx * fix broken link * typo * fix stray code markers * tech review * make params match old doc style * more fiddling with the wording * Remaining error articles in group * Remove redundant F1 tags * review feedbck * Update to address cpp-docs 4117 (#4485) * Update to address cpp-docs 4117 * Fix a typo. * Updated C6248 (#4436) * Updated C6248 Matched wording and format to my other PRs * Updated C6248 Used contractions per Acrolinx's mandate * Updated C6248 Using new formatting as discussed with Colin. Added PREfast name for warning. * Update docs/code-quality/c6248.md Co-authored-by: Michael Squires <[email protected]> * Updated C6248 Changed the ms.date and PREfast->code analysis Co-authored-by: Michael Squires <[email protected]> * Address cpp-docs issue 4097 (#4486) * [BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute * [BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute * [BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute * Update CONTRIBUTING.md * Update CONTRIBUTING.md * Fix name of main branch * Address 4125, 4119, 4102, and features in 17.2 (#4495) * Address 4125 4119 4102 17.2 issues * Acrolinx fixes * Add more intrinsics for 17.2 * Address cpp-docs 4129 * Typo issues * Wordsmithing ltcgout * make bold markup star balanced * Mention value initialization It will be very useful to discuss the concepts of value initialization and default initialization. * Update initializing-classes-and-structs-without-constructors-cpp.md Also fixing problematic uses of "default brace initialization", easily confused with "default initialization", which it doesn't do. * Add /ILK linker option docs Co-authored-by: Colin Robertson <[email protected]> Co-authored-by: opbld16 <[email protected]> Co-authored-by: opbld15 <[email protected]> Co-authored-by: opbld17 <[email protected]> Co-authored-by: Oliver Old <[email protected]> Co-authored-by: Igor Zhukov <[email protected]> Co-authored-by: Tyler Whitney <[email protected]> Co-authored-by: Feng Xu <[email protected]> Co-authored-by: JiayueHu <[email protected]> Co-authored-by: Bryan Gold <[email protected]> Co-authored-by: TylerMSFT <[email protected]> Co-authored-by: PRMerger20 <[email protected]> Co-authored-by: irushx <[email protected]> Co-authored-by: Garrett Campbell <[email protected]> Co-authored-by: Alma Jenks <[email protected]> Co-authored-by: pea-sys <[email protected]> Co-authored-by: PRMerger7 <[email protected]> Co-authored-by: Anton <[email protected]> Co-authored-by: Garrett Campbell <[email protected]> Co-authored-by: Regan Downer <[email protected]> Co-authored-by: Ben Niu <[email protected]> Co-authored-by: PRMerger19 <[email protected]> Co-authored-by: PRMerger4 <[email protected]> Co-authored-by: PRMerger Service account 2 <[email protected]> Co-authored-by: Gabor Horvath <[email protected]> Co-authored-by: Diana Richards <[email protected]> Co-authored-by: 薄景仁 <[email protected]> Co-authored-by: Linda Spiller <[email protected]> Co-authored-by: AugusMeow <[email protected]> Co-authored-by: Sy Brand <[email protected]> Co-authored-by: Dennis Rea <[email protected]> Co-authored-by: Weiju Wang <[email protected]> Co-authored-by: Bartosz Brachaczek <[email protected]> Co-authored-by: Bartosz Brachaczek <[email protected]> Co-authored-by: Stacyrch140 <[email protected]> Co-authored-by: Samuel Berger <[email protected]> Co-authored-by: Michael Squires <[email protected]> Co-authored-by: Alex Buck <[email protected]> Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com> Co-authored-by: Tamara K <[email protected]> Co-authored-by: Kisaragi <[email protected]> Co-authored-by: Hari <[email protected]> Co-authored-by: Jak Koke <[email protected]>
1 parent 3def6c0 commit 6a7f777

7 files changed

+134
-77
lines changed
Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
---
2-
description: "Learn more about: .Ilk Files as Linker Input"
3-
title: ".Ilk Files as Linker Input"
4-
ms.date: "11/04/2016"
5-
helpviewer_keywords: ["ILK files", ".ilk files"]
2+
description: "Learn more about: .ilk files as linker input"
3+
title: ".ilk files as linker input"
4+
ms.date: 09/07/2022
5+
helpviewer_keywords: [".ilk files", ".ilk files"]
66
ms.assetid: 7324c104-9e5d-423d-b268-b59f92607bf2
77
---
8-
# .Ilk Files as Linker Input
8+
# `.ilk` files as linker input
99

10-
When linking incrementally, LINK updates the .ilk status file that it created during the first incremental link. This file has the same base name as the .exe file or the .dll file, and it has the extension .ilk. During subsequent incremental links, LINK updates the .ilk file. If the .ilk file is missing, LINK performs a full link and creates a new .ilk file. If the .ilk file is unusable, LINK performs a nonincremental link. For details about incremental linking, see the [Link Incrementally (/INCREMENTAL)](incremental-link-incrementally.md) option.
10+
The linker creates and uses a *`.ilk`* database file for incremental link information.
11+
12+
## Remarks
13+
14+
When linking incrementally, LINK updates the *`.ilk`* status file that it created during the first incremental link. This file has the same base name as the target EXE or DLL file, and it has the extension *`.ilk`*. During subsequent incremental links, LINK updates the *`.ilk`* file. If the *`.ilk`* file is missing, LINK performs a full link and creates a new *`.ilk`* file. If the *`.ilk`* file is unusable, LINK performs a non-incremental link. For more information about incremental linking, see the [`/INCREMENTAL` (Link incrementally)](incremental-link-incrementally.md) linker option. For information about how to specify the name and location of the file, see [`/ILK` (Name incremental database file)](./ilk-name-incremental-database-file.md).
1115

1216
## See also
1317

14-
[LINK Input Files](link-input-files.md)<br/>
15-
[MSVC Linker Options](linker-options.md)
18+
[LINK input files](link-input-files.md)\
19+
[MSVC linker options](linker-options.md)
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: "/ILK (Name incremental database file)"
3+
description: "The MSVC linker option /ILK specifies the incremental link database file pathname."
4+
ms.date: 09/07/2022
5+
f1_keywords: ["VC.Project.VCLinkerTool.IncrementalLinkDatabaseFile", "/ilk", "ilk"]
6+
helpviewer_keywords: ["Name incremental database file in C++ linker", "/ILK linker option", "-ILK linker option", "ILK linker option"]
7+
---
8+
# `/ILK` (Name incremental database file)
9+
10+
The **`/ILK`** linker option tells the linker where to put the *`.ilk`* database file for incremental link information ([`/INCREMENTAL`](./incremental-link-incrementally.md)).
11+
12+
## Syntax
13+
14+
> **`/ILK:`**\[*`pathname`*]
15+
16+
### Arguments
17+
18+
*`pathname`*\
19+
The destination directory and filename for the generated *`.ilk`* file. If the **`/ILK`** option isn't specified when **`/INCREMENTAL`** is used, the filename is created by appending *`.ilk`* to the target base filename.
20+
21+
## Remarks
22+
23+
The **`/ILK`** linker option tells the linker the path and filename to use for the *`.ilk`* incremental database file when you specify [`/INCREMENTAL`](./incremental-link-incrementally.md).
24+
25+
### To set this compiler option in the Visual Studio development environment
26+
27+
1. Open the project **Property Pages** dialog box. For more information, see [Set compiler and build properties](../working-with-project-properties.md).
28+
29+
1. Select the **Configuration Properties** > **Linker** > **General** property page.
30+
31+
1. Modify the **Incremental Link Database File** property. The default value is `$(IntDir)$(TargetName).ilk`.
32+
33+
### To set this compiler option programmatically
34+
35+
- See <xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.AdditionalOptions%2A>.
36+
37+
## See also
38+
39+
[`/INCREMENTAL`](./incremental-link-incrementally.md)\
40+
[MSVC linker reference](linking.md)\
41+
[MSVC linker options](linker-options.md)
Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
---
2-
description: "Learn more about: /INCREMENTAL (Link Incrementally)"
3-
title: "/INCREMENTAL (Link Incrementally)"
4-
ms.date: "11/04/2016"
2+
description: "Learn more about: /INCREMENTAL (Link incrementally)"
3+
title: "/INCREMENTAL (Link incrementally)"
4+
ms.date: 09/07/2022
55
f1_keywords: ["/incremental", "VC.Project.VCLinkerTool.LinkIncremental"]
66
helpviewer_keywords: ["/INCREMENTAL linker option", "-INCREMENTAL linker option", "INCREMENTAL linker option", "link incrementally option", "LINK tool [C++], options for full linking", "incremental linking"]
77
ms.assetid: 135656ff-94fa-4ad4-a613-22e1a2a5d16b
88
---
9-
# /INCREMENTAL (Link Incrementally)
9+
# `/INCREMENTAL` (Link incrementally)
1010

11-
```
12-
/INCREMENTAL[:NO]
13-
```
11+
Specifies whether to link incrementally or always perform a full link.
12+
13+
## Syntax
14+
15+
> **`/INCREMENTAL`**\[**`:NO`**]
1416
1517
## Remarks
1618

17-
Controls how the linker handles incremental linking.
19+
The **`/INCREMENTAL`** linker option controls how the linker handles incremental linking.
1820

19-
By default, the linker runs in incremental mode. To override a default incremental link, specify /INCREMENTAL:NO.
21+
By default, the linker runs in incremental mode. To override a default incremental link, specify **`/INCREMENTAL:NO`**.
2022

21-
An incrementally linked program is functionally equivalent to a program that is non-incrementally linked. However, because it is prepared for subsequent incremental links, an incrementally linked executable, static library, or dynamic-link library file:
23+
An incrementally linked program is functionally equivalent to a program that is non-incrementally linked. However, because it's prepared for subsequent incremental links, an incrementally linked executable, static library, or dynamic-link library file:
2224

2325
- Is larger than a non-incrementally linked program because of padding of code and data. Padding enables the linker to increase the size of functions and data without recreating the file.
2426

@@ -27,35 +29,37 @@ An incrementally linked program is functionally equivalent to a program that is
2729
> [!NOTE]
2830
> To ensure that your final release build does not contain padding or thunks, link your program non-incrementally.
2931
30-
To link incrementally regardless of the default, specify /INCREMENTAL. When this option is selected, the linker issues a warning if it cannot link incrementally, and then links the program non-incrementally. Certain options and situations override /INCREMENTAL.
32+
To link incrementally regardless of the default, specify **`/INCREMENTAL`**. When this option is selected, the linker issues a warning if it can't link incrementally, and then links the program non-incrementally. Certain options and situations override **`/INCREMENTAL`**.
3133

3234
Most programs can be linked incrementally. However, some changes are too great, and some options are incompatible with incremental linking. LINK performs a full link if any of the following options are specified:
3335

34-
- Link Incrementally is not selected (/INCREMENTAL:NO)
36+
- Link Incrementally isn't selected (**`/INCREMENTAL:NO`**)
3537

36-
- /OPT:REF is selected
38+
- **`/OPT:REF`** is selected
3739

38-
- /OPT:ICF is selected
40+
- **`/OPT:ICF`** is selected
3941

40-
- /OPT:LBR is selected
42+
- **`/OPT:LBR`** is selected
4143

42-
- /ORDER is selected
44+
- **`/ORDER`** is selected
4345

44-
/INCREMENTAL is implied when [/DEBUG](debug-generate-debug-info.md) is specified.
46+
**`/INCREMENTAL`** is implied when [`/DEBUG`](debug-generate-debug-info.md) is specified.
4547

4648
Additionally, LINK performs a full link if any of the following situations occur:
4749

48-
- The incremental status (.ilk) file is missing. (LINK creates a new .ilk file in preparation for subsequent incremental linking.)
50+
- The incremental status (*`.ilk`*) file is missing. (LINK creates a new *`.ilk`* file in preparation for subsequent incremental linking.)
4951

50-
- There is no write permission for the .ilk file. (LINK ignores the .ilk file and links non-incrementally.)
52+
- There's no write permission for the *`.ilk`* file. (LINK ignores the *`.ilk`* file and links non-incrementally.)
5153

52-
- The .exe or .dll output file is missing.
54+
- The *`.exe`* or *`.dll`* output file is missing.
5355

54-
- The timestamp of the .ilk, .exe, or .dll is changed.
56+
- The timestamp of the *`.ilk`*, *`.exe`*, or *`.dll`* is changed.
5557

5658
- A LINK option is changed. Most LINK options, when changed between builds, cause a full link.
5759

58-
- An object (.obj) file is added or omitted.
60+
- An object (*`.obj`*) file is added or omitted.
61+
62+
An incremental link creates or updates an incremental link database *`.ilk`* file. You can specify the name and location of this file by using the [`/ILK` (Name incremental database file)](./ilk-name-incremental-database-file.md) linker option. For more information about the *`.ilk`* file, see [`.ilk` files as linker input](./dot-ilk-files-as-linker-input.md).
5963

6064
### To set this linker option in the Visual Studio development environment
6165

@@ -71,5 +75,6 @@ Additionally, LINK performs a full link if any of the following situations occur
7175

7276
## See also
7377

74-
[MSVC linker reference](linking.md)<br/>
75-
[MSVC Linker Options](linker-options.md)
78+
[MSVC linker reference](linking.md)\
79+
[MSVC linker options](linker-options.md)\
80+
[`.ilk` files as linker input](./dot-ilk-files-as-linker-input.md)
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
---
22
description: "Learn more about: LINK Input Files"
33
title: "LINK Input Files"
4-
ms.date: "11/04/2016"
4+
ms.date: 09/01/2022
55
helpviewer_keywords: ["files [C++], LINK", "module definition files", "resources [C++], linker files", "LINK tool [C++], input files", "module definition files, linker files", "input files [C++], LINK", "linker [C++], input files", "import libraries [C++], linker files", "command input to linker files [C++]"]
66
ms.assetid: bb26fcc5-509a-4620-bc3e-b6c6e603a412
77
---
8-
# LINK Input Files
8+
# LINK input files
99

10-
You provide the linker with files that contain objects, import and standard libraries, resources, module definitions, and command input. LINK does not use file extensions to make assumptions about the contents of a file. Instead, LINK examines each input file to determine what kind of file it is.
10+
You provide the linker with files that contain objects, import and standard libraries, resources, module definitions, and command input. LINK doesn't use file extensions to make assumptions about the contents of a file. Instead, LINK examines each input file to determine what kind of file it is.
1111

12-
Object files on the command line are processed in the order they appear on the command line. Libraries are searched in command line order as well, with the following caveat: Symbols that are unresolved when bringing in an object file from a library are searched for in that library first, and then the following libraries from the command line and [/DEFAULTLIB (Specify Default Library)](defaultlib-specify-default-library.md) directives, and then to any libraries at the beginning of the command line.
12+
Object files on the command line are processed in the order they appear on the command line. Libraries are searched in command line order as well, with the following caveat: Symbols that are unresolved when bringing in an object file from a library are searched for in that library first, and then the following libraries from the command line and [`/DEFAULTLIB` (Specify default library)](defaultlib-specify-default-library.md) directives, and then to any libraries at the beginning of the command line.
1313

1414
> [!NOTE]
15-
> LINK no longer accepts a semicolon (or any other character) as the start of a comment in response files and order files. Semicolons are recognized only as the start of comments in module-definition files (.def).
15+
> LINK no longer accepts a semicolon (or any other character) as the start of a comment in response files and order files. Semicolons are recognized only as the start of comments in module-definition files (`.def`).
1616
1717
LINK uses the following types of input files:
1818

19-
- [.obj files](dot-obj-files-as-linker-input.md)
19+
- [`.obj` files](dot-obj-files-as-linker-input.md)
2020

21-
- [.netmodule files](netmodule-files-as-linker-input.md)
21+
- [`.netmodule` files](netmodule-files-as-linker-input.md)
2222

23-
- [.lib files](dot-lib-files-as-linker-input.md)
23+
- [`.lib` files](dot-lib-files-as-linker-input.md)
2424

25-
- [.exp files](dot-exp-files-as-linker-input.md)
25+
- [`.exp` files](dot-exp-files-as-linker-input.md)
2626

27-
- [.def files](dot-def-files-as-linker-input.md)
27+
- [`.def` files](dot-def-files-as-linker-input.md)
2828

29-
- [.pdb files](dot-pdb-files-as-linker-input.md)
29+
- [`.pdb` files](dot-pdb-files-as-linker-input.md)
3030

31-
- [.res files](dot-res-files-as-linker-input.md)
31+
- [`.res` files](dot-res-files-as-linker-input.md)
3232

33-
- [.exe files](dot-exe-files-as-linker-input.md)
33+
- [`.exe` files](dot-exe-files-as-linker-input.md)
3434

35-
- [.txt files](dot-txt-files-as-linker-input.md)
35+
- [`.txt` files](dot-txt-files-as-linker-input.md)
3636

37-
- [.ilk files](dot-ilk-files-as-linker-input.md)
37+
- [`.ilk` files](dot-ilk-files-as-linker-input.md)
3838

3939
## See also
4040

41-
[MSVC linker reference](linking.md)<br/>
42-
[MSVC Linker Options](linker-options.md)
41+
[MSVC linker reference](linking.md)\
42+
[MSVC linker options](linker-options.md)

docs/build/toc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,14 +965,16 @@ items:
965965
href: ../build/reference/ignore-ignore-specific-warnings.md
966966
- name: /IGNOREIDL (Don't process attributes into MIDL)
967967
href: ../build/reference/ignoreidl-don-t-process-attributes-into-midl.md
968-
- name: /INFERASANLIBS (Use inferred sanitizer libs)
969-
href: ../build/reference/inferasanlibs.md
968+
- name: /ILK (Name incremental database file)
969+
href: ../build/reference/ilk-name-incremental-database-file.md
970970
- name: /IMPLIB (Name import library)
971971
href: ../build/reference/implib-name-import-library.md
972972
- name: /INCLUDE (Force symbol references)
973973
href: ../build/reference/include-force-symbol-references.md
974974
- name: /INCREMENTAL (Link incrementally)
975975
href: ../build/reference/incremental-link-incrementally.md
976+
- name: /INFERASANLIBS (Use inferred sanitizer libs)
977+
href: ../build/reference/inferasanlibs.md
976978
- name: /INTEGRITYCHECK (Require signature check)
977979
href: ../build/reference/integritycheck-require-signature-check.md
978980
- name: /KEYCONTAINER (Specify a key container to sign an assembly)

docs/cpp/initializing-classes-and-structs-without-constructors-cpp.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ int main()
4242
// Member initialization (in order of declaration):
4343
TempData td{ 45978, time(&time_to_set), 28.9, 37.0, 16.7 };
4444

45-
// Default initialization = {0,0,0,0,0}
46-
TempData td_default{};
45+
// When there's no constructor, an empty brace initializer does
46+
// value initialization = {0,0,0,0,0}
47+
TempData td_emptyInit{};
4748

4849
// Uninitialized = if used, emits warning C4700 uninitialized local variable
4950
TempData td_noInit;
@@ -55,7 +56,7 @@ int main()
5556
}
5657
```
5758
58-
When a `class` or `struct` has no constructor, you provide the list elements in the order that the members are declared in the `class`. If the `class` has a constructor, provide the elements in the order of the parameters. If a type has a default constructor, either implicitly or explicitly declared, you can use default brace initialization (with empty braces). For example, the following `class` may be initialized by using both default and non-default brace initialization:
59+
When a `class` or `struct` has no constructor, you provide the list elements in the order that the members are declared in the `class`. If the `class` has a constructor, provide the elements in the order of the parameters. If a type has a default constructor, either implicitly or explicitly declared, you can use brace initialization with empty braces to invoke it. For example, the following `class` may be initialized by using both empty and non-empty brace initialization:
5960
6061
```cpp
6162
#include <string>
@@ -106,7 +107,7 @@ int main()
106107
}
107108
```
108109
109-
If the default constructor is explicitly declared but marked as deleted, default brace initialization can't be used:
110+
If the default constructor is explicitly declared but marked as deleted, empty brace initialization can't be used:
110111
111112
```cpp
112113
class class_f {

0 commit comments

Comments
 (0)