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

Add TVec and RawValue equality operators. #11085

Merged
merged 3 commits into from Sep 24, 2022

Conversation

AdmiralCurtiss
Copy link
Contributor

Extracted from #11070 for easy review.

Source/Core/Common/Matrix.h Outdated Show resolved Hide resolved
Source/Core/Common/Matrix.h Outdated Show resolved Hide resolved
@JMC47 JMC47 merged commit c297474 into dolphin-emu:master Sep 24, 2022
11 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the tvec-equality branch September 24, 2022 00:08
@Leseratte10
Copy link
Contributor

This change (the new operator in ControllerEmu.h) causes Dolphin to fail to compile on my machine (Linux) with the error ‘constexpr bool ControllerEmu::RawValue<T, Bits>::operator==(const ControllerEmu::RawValue<T, Bits>&) const’ cannot be defaulted. I'm using GCC 9.4.0.

Not sure if I'm missing anything, in the past I've always been able to compile Dolphin.

@AdmiralCurtiss
Copy link
Contributor Author

Your compiler does not have good C++20 support, which we require since #10740. Update your compiler to at least gcc 10, ideally 11 or higher.

@Leseratte10
Copy link
Contributor

Thanks, switched to a newer gcc/g++ and it's working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants