Skip to content

Conversation

@striezel
Copy link
Contributor

@striezel striezel commented Mar 12, 2025

Fixes the build failure with MSVC on Windows 2022.

See https://github.com/martinmoene/expected-lite/actions/runs/13823506911/job/38673977228?pr=79 for the failure. Boils down to:

D:\a\expected-lite\expected-lite\test\expected.t.cpp(2245,13): error C3861: 'assert': identifier not found [D:\a\expected-lite\expected-lite\build\test\expected-lite-cpplatest.t.vcxproj]

So adding the header <cassert> which declares the assert macro should fix the error.

@martinmoene martinmoene merged commit f72aacb into nonstd-lite:master Mar 14, 2025
5 of 7 checks passed
@striezel striezel deleted the fix-windows-2022-build-failure branch March 17, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants