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

Fix Visual Studio 17.5.0 compilation #13434

Merged
merged 1 commit into from
Feb 25, 2023
Merged

Conversation

Megamouse
Copy link
Contributor

For some reason there's an internal compiler error related to atomic wait.
I could work around this issue when I commented mask = default_mask<X>;.
So after playing around a bit I had the suspicion that the VS parser can't handle some of the templatization.
Giving the decltype its own alias seems to fix this issue (and makes the code a bit more readable anyway in my opinion).

@Megamouse Megamouse added the Build and CI Anything related to the build process and continuous integration label Feb 23, 2023
@Megamouse Megamouse force-pushed the fixVs branch 2 times, most recently from 6148a37 to e1bedeb Compare February 23, 2023 22:14
@Megamouse Megamouse requested a review from Nekotekina February 24, 2023 00:06
For some reason there's an internal compiler error related to atomic wait.
I could work around this issue when I commented "mask = default_mask<X>;".
So after playing around a bit I had the suspicion that the VS parser can't handle some of the templatization.
Giving the decltype its own alias seems to fix this issue (and makes the code a bit more readable anyway in my opinion).
@Nekotekina Nekotekina merged commit 3ff4646 into RPCS3:master Feb 25, 2023
@Megamouse Megamouse deleted the fixVs branch February 26, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build and CI Anything related to the build process and continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants