mirror of https://github.com/bitcoin/bitcoin
Merge #21274: assumptions: Assume C++17
pull/21285/head5e531e6beb
assumptions: check C++17 assumption with MSVC (fanquake)c7b46489f8
assumptions: assume a C++17 compiler (fanquake) Pull request description: This has been the case since #20413. This should also enable the check for MSVC. From my reading of https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=msvc-160 and https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ if we set the `/Zc:__cplusplus` switch in additional options, MSVC will report the correct value for `__cplusplus`. However I have not tested this. ACKs for top commit: laanwj: Code review ACK5e531e6beb
hebasto: ACK5e531e6beb
, checked the MS docs, and AppVeyor build is green. practicalswift: ACK5e531e6beb
Tree-SHA512: a4fb525cf5c33abc944c614edb0313a39c8a39a1637a03c09342c15ba0925f4eb037062e65e51b42ade667506b7e554c7159acf86e6b8c35d0a87dd79a6f239b
commit
84f6c695c6
Loading…
Reference in new issue