We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.x, 4.x
n/a
godot/core/templates/ring_buffer.h
Line 214 in d18cbdf
Obviously this is very odd code (didn't even know that this is even valid). However, apparently this was accidentally introduced in C++14. They remove it in C++20 now, which means that the coder works only with c++14 <= version < c++20. See https://stackoverflow.com/questions/63513984/can-class-template-constructors-have-a-redundant-template-parameter-list-in-c2
This code is both in 4.x as well as 3.x
No response
The text was updated successfully, but these errors were encountered:
Tried compiling godot with MSVC c++ but get tons of errors, spesifically 'Compiler Error C2666': https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-2/compiler-error-c2666?view=msvc-160. I added some operator== functions, it fixes it, but it keeps on getting more and more (basically too much for me to handle). Perhaps we can withhold this untill we have C++20 support.
Sorry, something went wrong.
Perhaps we can withhold this untill we have C++20 support.
Only the <T> need to be removed from both the ctor and dtor.
<T>
Fixed by #91208.
-Wtemplate-id-cdtor
Successfully merging a pull request may close this issue.
Godot version
3.x, 4.x
System information
n/a
Issue description
godot/core/templates/ring_buffer.h
Line 214 in d18cbdf
Obviously this is very odd code (didn't even know that this is even valid). However, apparently this was accidentally introduced in C++14. They remove it in C++20 now, which means that the coder works only with c++14 <= version < c++20. See https://stackoverflow.com/questions/63513984/can-class-template-constructors-have-a-redundant-template-parameter-list-in-c2
This code is both in 4.x as well as 3.x
Steps to reproduce
n/a
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: