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

Disable span<T, dynamic_extent>::_as_bytes() for MSVC #272

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

bernhardmgruber
Copy link
Collaborator

Until MS releases VS 16.10, where they potentially fix this bug, this PR is a workaround for: #239
If VS 16.10 fixes the issue, we can replace the #ifndef _MSC_VER by a #if _MSC_VER > 1928.

With this change, I can compile a project using Vc and C++17.

@mattkretz
Copy link
Member

Seems like a valid workaround. But please add a comment to the #ifdef, explaining why it's disabled and under what conditions the code can be enabled again.

@mattkretz mattkretz merged commit 953035b into VcDevel:1.4 Mar 5, 2021
@bernhardmgruber bernhardmgruber deleted the msvc branch March 5, 2021 11:07
@bernhardmgruber bernhardmgruber added this to the Vc 1.4.2 milestone Jun 22, 2021
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