Under Visual Studio 2019 (and possibly earlier), building with /permissive- causes three samples to fail to compile. Adding the
/Zc:twoPhase- option makes them compile successfully again. See bug #160 for more details.
It's unclear what the source of this issue is, but using constexpr variables instead of a macro is better practice anyway, and fixes the errors.
Under Visual Studio 2019 (and possibly earlier), building with
/permissive-
causes three samples to fail to compile. Adding the/Zc:twoPhase-
option makes them compile successfully again. See bug #160 for more details.It's unclear what the source of this issue is, but using
constexpr
variables instead of a macro is better practice anyway, and fixes the errors.