You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The catch2 amalgamated header uses the wrong pre-processor define _MSVC_VER in line 1523. The correct one is _MSC_VER. Thus optimizations are never turned on again.
Expected behavior
Use _MSC_VER for the check.
Reproduction steps
n/a
Platform information:
OS: Windows NT
Compiler+version: MSVC
Catch version: v3.16.0
Additional context
Add any other context about the problem here.
Ooops, I broke that recently in 45f9ea1 when I noticed the issue in the check above the pragma that disables the optimizations, but not in the check above the pragma that re-enables the optimizations.
Activity
horenmar commentedon Oct 5, 2026
Ooops, I broke that recently in 45f9ea1 when I noticed the issue in the check above the pragma that disables the optimizations, but not in the check above the pragma that re-enables the optimizations.