Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing MSVC build on GitHub Actions #80

Merged

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 martinmoene:master Mar 14, 2025
5 of 7 checks passed
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