On Jul 5, 2022, at 10:52 PM, Guy Harris <gharris@xxxxxxxxx> wrote:
> The VS 2019 installer doesn't offer 10.0.20348.0; it shows the Windows 10 SDK 10.0.18362.0 as being installed, and is offering 10.0.19041.0, some *older* versions, and the Windows *11* SDK 10.0.22000.0, for installation. I have *no* idea why it doesn't offer 10.0.20348.0, and don't know what will break if I install a W11 SDK (hopefully it allows a version of Wireshark that runs on W10 to build on W10).
According to
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
"Windows 10 SDK version 2104 (10.0.20348.0)" is "Primarily intended for Windows Server development." and says "For desktop development, see the release notes for changes you may benefit from by updating." "release notes" links to
https://developer.microsoft.com/en-us/windows/downloads/windows-SDK/
which says that one of the "changes you may benefit from by updating" is
• When building with /std:c11 or /std:c17, you now get:
• C99 tgmath.h
• C11 static_assert in assert.h
• C11 stdalign.h
• C11 stdnoreturn.h
But we don't use stdnoreturn.h, so that isn't necessary. The compiler version I have, as far as I can tell, *does* handle _Noreturn, given that I was able to compile Wireshark (from a brand-new build directory, so it compiled *everything*).