Skip to content

Commit d2037a7

Browse files
TylerMSFTTylerMSFT
authored andcommitted
update SDK version required
1 parent fdf257d commit d2037a7

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

docs/c-language/alignment-c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ typedef struct
5757
{
5858
int value; // aligns on a 4-byte boundary. There will be 28 bytes of padding between value and alignas
5959
alignas(32) char alignedMemory[32]; // assuming a 32 byte friendly cache alignment
60-
} cacheFriendly; // this struct will be 32-byte aligned because alignedMemory is 32-byte alligned and is the largest alignment specified in the struct
60+
} cacheFriendly; // this struct will be 32-byte aligned because alignedMemory is 32-byte aligned and is the largest alignment specified in the struct
6161
6262
int main()
6363
{
@@ -125,7 +125,7 @@ int main()
125125

126126
[`/std:c11`](../build/reference/std-specify-language-standard-version.md) or later is required.
127127

128-
Requires Windows SDK 10.0.20201.0 or later. Windows SDK 10.0.20348.0 (version 2104) or later is recommended. You can download the latest SDK from the [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk/) page. For more information, and instructions on how to install and use the SDK for C development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
128+
Windows SDK 10.0.20348.0 (version 2104) or later. You can download the latest SDK from [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk/). For more information, and instructions on how to install and use the SDK for C development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
129129

130130
## See also
131131

docs/c-language/generic_selection.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Generic selection (C11)"
33
description: "Describes the C11 _Generic keyword used in the Microsoft Visual C compiler"
4-
ms.date: "12/9/2020"
4+
ms.date: "6/28/2021"
55
helpviewer_keywords: ["_Generic keyword [C]"]
66
---
77

@@ -70,6 +70,12 @@ Type name: double
7070

7171
```
7272

73+
## Requirements
74+
75+
[std:c++11](../build/reference/std-specify-language-standard-version.md) or later is required.
76+
77+
Windows SDK 10.0.20348.0 (version 2104) or later. You can download the latest SDK from [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk). For more information, and instructions on how to install and use the SDK for C development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
78+
7379
## See also
7480

7581
[`/std` (Specify Language Standard Version)](../build/reference/std-specify-language-standard-version.md)\

docs/c-runtime-library/tgmath.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: "Type-generic math"
3-
description: "Describes macros in <tgmath.h> that make it easier to write C code that calls the right math function, based on argument type."
3+
description: "Describes macros in <tgmath.h> that make it easier to write C code that calls the correct math function by argument type."
44
ms.topic: "conceptual"
5-
ms.date: "12/10/2020"
5+
ms.date: "6/28/2021"
66
helpviewer_keywords: ["CRT tgmath.h"]
77
---
88

@@ -87,7 +87,7 @@ The following table lists the macros that are available in `<tgmath.h>` and what
8787

8888
[std:c++11](../build/reference/std-specify-language-standard-version.md) or later is required.
8989

90-
Windows SDK version 10.0.20201.0 or later. This is currently an Insider build which you can download from [Windows Insider Preview Downloads](https://www.microsoft.com/software-download/windowsinsiderpreviewSDK). See [C11 and C17: Getting Started](https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/#c11-and-c17-getting-started) for instructions on installing and using this SDK.
90+
Windows SDK 10.0.20348.0 (version 2104) or later. You can download the latest SDK from [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk/). For more information, and instructions on how to install and use the SDK for C development, see [Install C11 and C17 support in Visual Studio](../overview/install-c17-support.md).
9191

9292
## See also
9393

docs/standard-library/cstdalign.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
---
2-
description: "Learn more about: &lt;cstdalign&gt;"
3-
title: "&lt;cstdalign&gt;"
4-
ms.date: "07/11/2019"
2+
description: "Learn more about: <cstdalign>"
3+
title: "<cstdalign>"
4+
ms.date: "6/28/2021"
55
f1_keywords: ["<cstdalign>", "__alignas_is_defined", "__alignof_is_defined"]
66
helpviewer_keywords: ["cstdalign header", "__alignas_is_defined", "__alignof_is_defined"]
7-
ms.assetid: 9d570924-d299-4225-9a58-8c4c820f5903
87
---
9-
# &lt;cstdalign&gt;
8+
# `<cstdalign>`
109

11-
In some C++ standard library implementations, this header includes the C standard library header \<stdalign.h>, and adds the associated names to the `std` namespace. Because that header isn't implemented in MSVC, the \<cstdalign> header defines compatibility macros `__alignas_is_defined` and `__alignof_is_defined`.
10+
In some C++ standard library implementations, this header includes the C standard library header `<stdalign.h>`, and adds the associated names to the `std` namespace. Because that header isn't implemented in MSVC, the `<cstdalign>` header defines compatibility macros `__alignas_is_defined` and `__alignof_is_defined`.
1211

1312
> [!NOTE]
14-
> Because the \<stdalign.h> header defines macros that are keywords in C++, including it has no effect. The \<stdalign.h> header is deprecated in C++. The \<cstdalign> header is deprecated in C++17 and removed in the draft C++20 standard.
13+
> Because the `<stdalign.h>` header defines macros that are keywords in C++, including it has no effect. The `<stdalign.h>` header is deprecated in C++. The `<cstdalign>` header is deprecated in C++17 and removed in the draft C++20 standard.
1514
1615
## Requirements
1716

18-
**Header:** \<cstdalign>
17+
**Header:** `<cstdalign>`
1918

2019
**Namespace:** std
2120

docs/standard-library/ctgmath.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
---
2-
description: "Learn more about: &lt;ctgmath&gt;"
3-
title: "&lt;ctgmath&gt;"
4-
ms.date: "07/11/2019"
2+
description: "Learn more about: `<ctgmath>`"
3+
title: "`<ctgmath>`"
4+
ms.date: "6/28/2021"
55
f1_keywords: ["<ctgmath>"]
66
helpviewer_keywords: ["ctgmath header"]
7-
ms.assetid: ff521893-f445-4dc8-a2f6-699185bb7024
87
---
9-
# &lt;ctgmath&gt;
8+
# `<ctgmath>`;
109

11-
In effect, includes the C++ standard library headers \<complex> and \<cmath>, which provide type-generic math macros equivalent to \<tgmath.h>.
10+
In effect, includes the C++ standard library headers `<complex>` and `<cmath>`, which provide type-generic math macros equivalent to `<tgmath.h>`.
1211

1312
> [!NOTE]
14-
> The C standard library \<tgmath.h> header isn't included by \<ctgmath>, because it's effectively replaced by the C++ overloads in \<complex> and \<cmath>. That makes the \<ctgmath> header redundant. The \<tgmath.h> header is deprecated in C++. The \<ctgmath> header is deprecated in C++17 and removed in the draft C++20 standard.
13+
> The C standard library `<tgmath.h>` header isn't included by `<ctgmath>` because it's effectively replaced by the C++ overloads in `<complex>` and `<cmath>`. That makes the `<ctgmath>` header redundant. The `<tgmath.h>` header is deprecated in C++. The `<ctgmath>` header is deprecated in C++17 and removed in the draft C++20 standard.
1514
1615
## Requirements
1716

18-
**Header:** \<ctgmath>
17+
**Header:** `<ctgmath>`
1918

20-
**Namespace:** std
19+
**Namespace:** `std`
2120

2221
## Remarks
2322

24-
The functionality of the C standard library header \<tgmath.h> is provided by the overloads in \<complex> and \<cmath>.
23+
The functionality of the C standard library header `<tgmath.h>` is provided by the overloads in `<complex>` and `<cmath>`.
2524

2625
## See also
2726

28-
[\<complex>](complex.md)\
29-
[\<cmath>](cmath.md)\
27+
[`<complex>`](complex.md)\
28+
[`<cmath>`](cmath.md)\
3029
[Header files reference](cpp-standard-library-header-files.md)\
3130
[C++ standard library overview](cpp-standard-library-overview.md)\
3231
[Thread safety in the C++ standard library](thread-safety-in-the-cpp-standard-library.md)

0 commit comments

Comments
 (0)