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

msvc: fix issues with vs 17.3 #10913

Merged
merged 2 commits into from
Aug 3, 2022
Merged

msvc: fix issues with vs 17.3 #10913

merged 2 commits into from
Aug 3, 2022

Conversation

shuffle2
Copy link
Contributor

No description provided.

Copy link
Contributor

@iwubcode iwubcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested

@shuffle2
Copy link
Contributor Author

while this is currently needed to build on vs preview, i'm not sure if the BootSessionData change is a msvc or dolphin bug, would be nice to know before merging

@Tilka
Copy link
Member

Tilka commented Jul 31, 2022

Simple repro case: https://godbolt.org/z/YEGEr4zGn

I don't see why a default parameter would change anything as far as the standard is concerned. Interestingly, MSVC doesn't complain when using /std:c++20 instead of /std:c++latest, but I'm not up to date with changes in C++23.

@shuffle2
Copy link
Contributor Author

Thanks, I'm just going to report it as a msvc bug and see what they say :-)
https://developercommunity.visualstudio.com/t/vs2022-173-Preview-std::unique_ptr-need/10107855

@shuffle2
Copy link
Contributor Author

shuffle2 commented Aug 2, 2022

The std::unique_ptr change is expected c++23 behavior: https://github.com/microsoft/STL/pull/2582/files

std::unique_ptr can't/won't call deleter on incomplete type
generated warning on vs 17.3.0 preview 5.0
@lioncash lioncash merged commit 385764e into dolphin-emu:master Aug 3, 2022
@shuffle2 shuffle2 deleted the vsnext branch August 5, 2022 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants