Skip to content

Commit 33e7144

Browse files
TaojunshenColin RobertsonTylerMSFTwmcnamaraTylerMSFT
authored
11/3/2021 AM Publish (#3877)
* draft * updates * draft content * Change incorrect link for logical AND This commit changes the link for logical AND from incorrectly linking to the bitwise AND to the correct logical AND. * draft * acrolinx and add to toc * rename existing file back to original filename * tech review * fix code sample (#3676) * fix code sample * acrolinx Co-authored-by: TylerMSFT <Tyler.Whitney@microsoft.com> * Update fsanitize.md * Add mention in asan-building and add fsanitize-coverage options. * Expand /fsanitize=fuzzer description. Unify table format used on page. * Reference fsanitize-coverage.md in toc + full option lists. * Fix warnings * every relevant edge * Add OneFuzz mention * Fix mistaken deletion in chrono.md * Fpcontract docs (#3691) * Update fp-specify-floating-point-behavior.md Add details on /fp:contract flag * Update float-control.md Update float_control pragma behavior with respect to contractions. * small update * Update fenv-access.md * Update fp-contract.md * Update predefined-macros.md * fix typo and PR comments * leave definition of contractions * Add /fp:contract to the main list * fix line break * Add link to fp:contract * Add reference to fp:contract * Call out changes by compiler version. Co-authored-by: 3836425+corob-msft@users.noreply.github.com <corob@microsoft.com> * Edit pass for i18n, grammar, and style * Respond to feedback * Add LibFuzzer link, consistency fixes * add new classes: ambiguous_local_time & nonexistent_local_time * acrolinx * fix links * finish descriptions * fix more links * smoothing out * proofing * add some better linking * tune description * update descriptions * needed to update local-info-struct.md to reflect changes to descriptions for nonexistent and ambiguous * add chrono functions * rounding out duration links * Add documentation for IntelliSense linter for C++ (MicrosoftDocs#3821) * Add first draft of linter check documentation * WIP overview. Signed-off-by: Kyle Reed <kylereed@microsoft.com> * Update toc. First draft of the linter overview. * Add screenshots, move files, code samples are stand-alone. Signed-off-by: Kyle Reed <kylereed@microsoft.com> * Style and Acrolinx grammar checker pass * Add missing Options cues for checks * Update to use latest option names Co-authored-by: 3836425+corob-msft@users.noreply.github.com <corob@microsoft.com> * connecting duration up to it's non-member pieces and doing some general updates * fix links * cleanup * Split out VS2019 content for linter (#3824) * Update working-with-project-properties.md * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * fix function signature * fix line ending * remove duplicate * Address /profile issues per Paddy McD (#3834) * Fixed documentation that destroy dialogs * Update void-cpp for cpp-docs 3441 Reported in MicrosoftDocs/cpp-docs/issues/3441 Clarify kinds of class member where you can't use `void*`. Fix styles. Acrolinx a few things. * More clarity on void pointers to members * zoned_traits (#3831) * add zoned_traits * draft clock_cast and clock_time_conversion * first draft * draft * draft * fix heading * cleanup * add tzdb and tzdb-list * draft * draft * pull examples * draft cleanup * acrolinx * draft cleanup * draft cleanup * incorp tech review * tech review * cleanup * cleanup * acrolinx * fix casing * add example descriptions * wording * last adjustments * wording Co-authored-by: TylerMSFT <Tyler.Whitney@microsoft.com> * Update 16.1 conformance per J Emmett * Update docs/error-messages/compiler-errors-2/compiler-error-c2666.md * draft * acrolinx, links * links * Fix typo in page title * acrolinx * fix link * Fix TOC schema before VS2022 changes * cleanup the port * add additional info * Address 3449 typo in /analyze * update see also * Address 3462 add C5033 warning * Include link update * Typo * Add TOC entry * Update how-to-marshal-callbacks-and-delegates-by-using-cpp-interop.md typo: underlaying -> underlying * Fix typo in toc for tzdb_list * fix github issue #3469 (MicrosoftDocs#3852) Co-authored-by: TylerMSFT <Tyler.Whitney@microsoft.com> * remove constexpr, prevent machine translation of code elements, and bring closer to current doc style (MicrosoftDocs#3854) * remove constexpr * add remark * acrolinx * update casing * cleanup Co-authored-by: TylerMSFT <Tyler.Whitney@microsoft.com> * VS2022 update for what's new content * Acrolinx update * Fix validation, links, typos * Revert a styling quirk on headers * Validation error fix * Acrolinx and validation fixes * Conformance fix updates * Adding missing intrinsic. * Fix intrinsic signature. * Fix wrong argument type. * Add headers, requirements * VS2022 features, C17, walkthroughs (MicrosoftDocs#3863) * VS2022 features, C17, walkthroughs * fix indentation to correct list step numbering * fix indentation to correct list step numbering * replace numbers with bold headings Co-authored-by: Beth Harvey <v-bharve@microsoft.com> * tech review feedback * cleanup * Frontrun bulk fixes for VS2022 * Fixes #3484 * Docs/corob/cpp docs 3481 d8049 (#3865) * Add D8049 error message * Acrolinx tweak * Update toc.yml fix apparent typo in TOC Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> * More VS2022 non-bulk fixes. (#3867) * Bulk update VS2022 content (MicrosoftDocs#3860) * Bulk fix to update msvc-160 and msvc-170 * Fix stray moniker tags * incorp review * update wording around closing the folder * typos * fix typo introduced while fixing typos... * update formatting * update steps and formatting * Update working-with-resource-files.md * Update symbols-resource-identifiers.md * Update CMake landing page (#3864) * intro, installation, configure * config notifications * IDE integration * Building CMake projects * Debugging CMake projects * Open an existing cache * Edit CMakeLists.txt files * Configure IntelliSense * Troubleshooting, repro from CLI * Switch 17/19 CLI sections * edits * Fix code block * more edits * move images from docs/media to docs/build/media * Address feedback * Fix link style * Final edits * fix spelling per Acrolinx Co-authored-by: Beth Harvey <v-bharve@microsoft.com> * Broken link fixed * De-emphasize codeplex archive * Add gray border (MicrosoftDocs#3876) * Correct or remove links: validation issues Co-authored-by: Colin Robertson <corob@microsoft.com> Co-authored-by: TylerMSFT <Tyler.Whitney@microsoft.com> Co-authored-by: Weston McNamara <westonfmcnamara@gmail.com> Co-authored-by: Tyler Whitney <TylerMSFT@users.noreply.github.com> Co-authored-by: Steve Wishnousky <stwish@microsoft.com> Co-authored-by: Gautham Beeraka <58992211+Gautham-Beeraka1@users.noreply.github.com> Co-authored-by: Kyle Reed <kylereed@microsoft.com> Co-authored-by: Chai Wei Jie <chai_weijie@hotmail.com> Co-authored-by: opbld15 <opbld15@microsoft.com> Co-authored-by: PRMerger19 <prmrgr19@microsoft.com> Co-authored-by: Laura Brenner <90344170+laurabren@users.noreply.github.com> Co-authored-by: Courtney Wales <62625502+Court72@users.noreply.github.com> Co-authored-by: Andrea Courtright <74212614+v-andreaco@users.noreply.github.com> Co-authored-by: PRMerger15 <prmrgr15@microsoft.com> Co-authored-by: opbld16 <opbld16@microsoft.com> Co-authored-by: PRMerger8 <prmrgr8@microsoft.com> Co-authored-by: Anju Del Moral Gonzalez <judelmor@microsoft.com> Co-authored-by: opbld17 <opbld17@microsoft.com> Co-authored-by: Miya Natsuhara <46756417+mnatsuhara@users.noreply.github.com> Co-authored-by: Kristine Toliver <ktoliver@users.noreply.github.com> Co-authored-by: PRMerger7 <prmrgr7@microsoft.com> Co-authored-by: Avraham <avreimale@gmail.com> Co-authored-by: Paula Miller <v-paulmi@microsoft.com> Co-authored-by: Jose Rivero <jorive@microsoft.com> Co-authored-by: Beth Harvey <v-bharve@microsoft.com> Co-authored-by: PRMerger5 <prmergr5@microsoft.com> Co-authored-by: Red Team Rover <redteamrover@protonmail.com> Co-authored-by: Jeff Borsecnik <36546697+jborsecnik@users.noreply.github.com> Co-authored-by: mohammad-ghasemi-2549 <82893849+mohammad-ghasemi-2549@users.noreply.github.com> Co-authored-by: Erika <esweet431@gmail.com> Co-authored-by: Atik Mapari (Lionbridge Technologies Inc) <v-atmapa@microsoft.com> Co-authored-by: PRMerger Service account 2 <PRMerger-2@users.noreply.github.com>
1 parent 9bf8056 commit 33e7144

13 files changed

Lines changed: 19 additions & 21 deletions

docs/build/cmake-presets-json-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CMake supports two files, *`CMakePresets.json`* and *`CMakeUserPresets.json`*, t
1616

1717
For more information about how to use *`CMakePresets.json`* in Visual Studio, see [Configure and build with CMake Presets in Visual Studio](cmake-presets-vs.md)
1818

19-
For more information about how to use *`CMakePresets.json`* in Visual Studio Code, see [Configure and build with CMake Presets in VS Code](https://github.com/microsoft/vscode-cmake-tools/blob/develop/docs/cmake-presets.md)
19+
For more information about how to use *`CMakePresets.json`* in Visual Studio Code, see [Configure and build with CMake Presets in VS Code](https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-presets.md)
2020

2121
## Visual Studio Settings vendor map
2222

docs/build/cmake-presets-vs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This article contains information about *`CMakePresets.json`* integration with V
1515

1616
- For more information about the format of *`CMakePresets.json`*, see the official [CMake documentation](https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html#id1).
1717
- For more information about the Microsoft vendor maps and macro expansion, see [`CMakePresets.json` and `CMakeUserPresets.json` Microsoft vendor maps](cmake-presets-json-reference.md).
18-
- For more information about how to use *`CMakePresets.json`* in Visual Studio Code, see [Configure and build with CMake Presets](https://github.com/microsoft/vscode-cmake-tools/tree/develop/docs/cmake-presets.md).
18+
- For more information about how to use *`CMakePresets.json`* in Visual Studio Code, see [Configure and build with CMake Presets](https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-presets.md).
1919

2020
We recommend *`CMakePresets.json`* as an alternative to *`CMakeSettings.json`*. Visual Studio will never read from both *`CMakePresets.json`* and *`CMakeSettings.json`* at the same time. To enable or disable *`CMakePresets.json`* integration in Visual Studio, see [Enable `CMakePresets.json` in Visual Studio 2019](#enable-cmakepresets-json-integration).
2121

@@ -446,7 +446,7 @@ cmake --build --preset <buildPreset-name>
446446

447447
## Example *`CMakePresets.json`* file
448448

449-
The *`CMakePresets.json`* file in [box2d-lite](https://github.com/esweet431/box2d-lite/blob/main/CMakePresets.json) contains examples of Configure Presets, Build Presets, and Test Presets.
449+
The *`CMakePresets.json`* file in [box2d-lite](https://github.com/esweet431/box2d-lite/blob/vs-launch/CMakePresets.json) contains examples of Configure Presets, Build Presets, and Test Presets.
450450

451451
## Next steps
452452

6.27 KB
Loading

docs/build/media/start-window.png

99 Bytes
Loading

docs/build/reference/fsanitize-coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["/fsanitize-coverage [C++]", "sanitizer compiler option [C
77
---
88
# `/fsanitize-coverage` (Configure sanitizer coverage)
99

10-
The **`/fsanitize-coverage`** compiler options instruct the compiler to add various kinds of instrumentation points where user-defined functions are called. These options are useful for fuzzing scenarios that use **`/fsanitize=fuzzer`**, like OneFuzz. For more information, see the [OneFuzz documentation](https://www.microsoft.com/en-us/research/project/project-onefuzz/) and [OneFuzz GitHub project](https://github.com/microsoft/onefuzz).
10+
The **`/fsanitize-coverage`** compiler options instruct the compiler to add various kinds of instrumentation points where user-defined functions are called. These options are useful for fuzzing scenarios that use **`/fsanitize=fuzzer`**, like OneFuzz. For more information, see the [OneFuzz documentation](https://www.microsoft.com/research/project/project-onefuzz/) and [OneFuzz GitHub project](https://github.com/microsoft/onefuzz).
1111

1212
## Syntax
1313

docs/build/reference/fsanitize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Use the **`/fsanitize`** compiler options to enable sanitizers.
2020

2121
The **`/fsanitize=address`** compiler option enables [AddressSanitizer](../../sanitizers/asan.md), a powerful compiler and runtime technology to uncover [hard-to-find bugs](../../sanitizers/asan.md#error-types). Support for the **`/fsanitize=address`** option is available starting in Visual Studio 2019 version 16.9.
2222

23-
The **`/fsanitize=fuzzer`** compiler option enables experimental support for [LibFuzzer](https://releases.llvm.org/3.8.0/docs/LibFuzzer.html). LibFuzzer is a coverage-guided fuzzing library that can be used to find bugs and crashes caused by user-provided input. We recommended you use **`/fsanitize=address`** with LibFuzzer. This option is useful for fuzzing tools such as OneFuzz. For more information, see the [OneFuzz documentation](https://www.microsoft.com/en-us/research/project/project-onefuzz/) and [OneFuzz GitHub project](https://github.com/microsoft/onefuzz). Support for the **`/fsanitize=fuzzer`** option is available starting in Visual Studio 2022 version 17.0.
23+
The **`/fsanitize=fuzzer`** compiler option enables experimental support for [LibFuzzer](https://releases.llvm.org/3.8.0/docs/LibFuzzer.html). LibFuzzer is a coverage-guided fuzzing library that can be used to find bugs and crashes caused by user-provided input. We recommended you use **`/fsanitize=address`** with LibFuzzer. This option is useful for fuzzing tools such as OneFuzz. For more information, see the [OneFuzz documentation](https://www.microsoft.com/research/project/project-onefuzz/) and [OneFuzz GitHub project](https://github.com/microsoft/onefuzz). Support for the **`/fsanitize=fuzzer`** option is available starting in Visual Studio 2022 version 17.0.
2424

2525
The **`/fsanitize`** option doesn't allow comma-separated syntax, for example: **`/fsanitize=address,fuzzer`**. These options must be specified individually.
2626

docs/build/reference/qspectre.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ There are several ways to specify the Spectre-mitigated libraries to the build c
9696

9797
### Additional information
9898

99-
For more information, see the official [Microsoft Security Advisory ADV180002, Guidance to mitigate speculative execution side-channel vulnerabilities](https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV180002). Guidance is also available from Intel, [Speculative Execution Side Channel Mitigations](https://software.intel.com/sites/default/files/managed/c5/63/336996-Speculative-Execution-Side-Channel-Mitigations.pdf), and ARM, [Cache Speculation Side-channels](https://developer.arm.com/-/media/Files/pdf/Cache_Speculation_Side-channels.pdf).
99+
For more information, see the official [Microsoft Security Advisory ADV180002, Guidance to mitigate speculative execution side-channel vulnerabilities](https://msrc.microsoft.com/update-guide/vulnerability/ADV180002). Guidance is also available from Intel, [Speculative Execution Side Channel Mitigations](https://software.intel.com/sites/default/files/managed/c5/63/336996-Speculative-Execution-Side-Channel-Mitigations.pdf), and ARM, [Cache Speculation Side-channels](https://developer.arm.com/-/media/Files/pdf/Cache_Speculation_Side-channels.pdf).
100100

101101
For a Windows-specific overview of Spectre and Meltdown mitigations, see [Understanding the performance impact of Spectre and Meltdown mitigations on Windows Systems](https://www.microsoft.com/security/blog/2018/01/09/understanding-the-performance-impact-of-spectre-and-meltdown-mitigations-on-windows-systems/).
102102

docs/c-language/static-assert-c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int main()
7373

7474
Compile with [`/std:c11`](../build/reference/std-specify-language-standard-version.md).
7575

76-
Windows SDK 10.0.20348.0 (version 2104) or later. See [Windows SDK](https://developer.microsoft.com/windows/downloads/windows-sdk/) to download the latest SDK. For instructions to install and use the SDK for C11 and C17 development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
76+
Windows SDK 10.0.20348.0 (version 2104) or later. For more information on installing the Windows SDK for C11 and C17 development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
7777

7878
## See also
7979

docs/code-quality/c6236.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ void f( int n )
5757

5858
## See also
5959

60-
[C++ Bitwise Operators](https://www.microsoft.com/download/details.aspx?id=55979)
60+
[Bitwise AND operator: `&`](../cpp/bitwise-and-operator-amp.md)

docs/error-messages/tool-errors/project-build-error-prj0003.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ The *command line* command formed from input in the **Property Pages** dialog bo
1414

1515
Possible reasons for this error include:
1616

17-
- Your project depends on ATL Server. Beginning in Visual Studio 2008, ATL Server is no longer included as part of Visual Studio, but has been released as a shared-source project at CodePlex. To download the ATL Server source code and tools, go to [ATL Server Library and Tools](https://archive.codeplex.com/?p=atlserver).
18-
1917
- Low system resources. Close some applications to resolve this.
2018

2119
- Insufficient security privileges. Verify that you have sufficient security privileges.
@@ -24,6 +22,8 @@ Possible reasons for this error include:
2422

2523
- For makefile projects, you are missing a command to run on either **Build Command Line** or **Rebuild Command Line**.
2624

25+
- Your project depends on ATL Server. Beginning in Visual Studio 2008, ATL Server is no longer included as part of Visual Studio.
26+
2727
## See also
2828

2929
[Project Build Errors and Warnings (PRJxxxx)](../../error-messages/tool-errors/project-build-errors-and-warnings-prjxxxx.md)

0 commit comments

Comments
 (0)