Skip to content

Commit be30d9f

Browse files
TylerMSFTTylerMSFT
authored andcommitted
add requirements to static_assert
1 parent 2577cf1 commit be30d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ int main()
7171
|-------------|---------------------|
7272
|**`static_assert`**|\<assert.h>|
7373

74+
[`/std:c11`](../build/reference/std-specify-language-standard-version.md) or later is required.
75+
76+
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).
77+
7478
## See also
7579

7680
[`_STATIC_ASSERT` Macro](../c-runtime-library/reference/static-assert-macro.md)\

0 commit comments

Comments
 (0)