The use of _Generic from commit "Replace __builtin_types_compatible_p
with _Generic" causes compiler errors from VS 2019. Apparently, that
compiler is just broken for that (even though it appears to support
_Generic in general, for example in commit
59c2f03d1ec).
Per discussion, just drop support for VS 2019 and require at least VS
2022. This just updates the documentation about that. In passing,
some information about VS 2026 is added.
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/CA+hUKGL7trhWiJ4qxpksBztMMTWDyPnP1QN+Lq341V7QL775DA@mail.gmail.com
<para>
Both 32-bit and 64-bit builds are possible with the Microsoft Compiler suite.
32-bit PostgreSQL builds are possible with
- <productname>Visual Studio 2019</productname> to
<productname>Visual Studio 2022</productname>,
as well as standalone Windows SDK releases 10 and above.
64-bit PostgreSQL builds are supported with
<productname>Microsoft Windows SDK</productname> version 10 and above or
- <productname>Visual Studio 2019</productname> and above.
+ <productname>Visual Studio 2022</productname> and above.
<!--
- For 2019 requirements:
- https://docs.microsoft.com/en-us/visualstudio/releases/2019/system-requirements
For 2022 requirements:
- https://docs.microsoft.com/en-us/visualstudio/releases/2022/system-requirements
+ https://learn.microsoft.com/en-us/visualstudio/releases/2022/system-requirements
+ For 2026 requirements:
+ https://learn.microsoft.com/en-us/visualstudio/releases/2026/vs-system-requirements
-->
</para>