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

Remove glz::expected and always use std::expected #1314

Merged
merged 7 commits into from
Mar 11, 2025

Conversation

stephenberry
Copy link
Owner

@stephenberry stephenberry commented Sep 18, 2024

Before Clang 19 the -stdlib=libc++ flag is required

@stephenberry stephenberry changed the title Removed glaze expected implementation Remove glz::expected and always use std::expected Dec 13, 2024
@Allybag
Copy link

Allybag commented Mar 11, 2025

Evening Stephen, I'm getting some linker errors trying to build my project which uses glaze using Clang 19.1.7 on MacOS:

Undefined symbols for architecture arm64:
"std::__1::bad_expected_access::what() const", referenced from:
vtable for std::__1::bad_expected_accessglz::error_ctx in lib...

Would it be possible to get this merged?

@stephenberry
Copy link
Owner Author

@Allybag, Yes, I just updated this pull request and everything is passing, so I'll merge it into main and it will be in the next release. Thanks!

@stephenberry stephenberry merged commit a08c7b5 into main Mar 11, 2025
12 checks passed
@stephenberry stephenberry deleted the remove_glz_expected branch March 11, 2025 13:22
@Allybag
Copy link

Allybag commented Mar 11, 2025

Cheers mate, appreciate it!

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