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

Fixed MSVC compilation error with C++ 20 #1085

Merged

Conversation

jakubtyrcha
Copy link

@jakubtyrcha jakubtyrcha commented Sep 18, 2021

This doesn't happen in every project I try to compile with C++ 20 flag with MSVC and I don't know what exactly triggers it. The code that triggered the error is not something I can share. The error is not pointing to any particular line and I don't see this specific template being instantiated.

Compiler output:

error C3861: 'Lv': identifier not found
This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'

This diagnostic occurred in the compiler generated function 'glm::vec<1,T,Q> &glm::vec<1,T,Q>::operator |=(const glm::vec<1,A,Q> &)'
@christophe-lunarg christophe-lunarg merged commit df96951 into g-truc:master Apr 20, 2022
@christophe-lunarg
Copy link

Thanks for contributing!

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.

None yet

2 participants