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

Move to C++20 for non-MSVC compilers #10740

Merged
merged 1 commit into from Aug 4, 2022
Merged

Conversation

Tilka
Copy link
Member

@Tilka Tilka commented Jun 11, 2022

Just checking the builders. Windows will probably fail?

@shuffle2
Copy link
Contributor

well...can you think of a way to fix it such that msvc and gcc are happy?

@shuffle2
Copy link
Contributor

seems to have been fixed upstream: fmtlib/fmt@3e28dc0

@shuffle2
Copy link
Contributor

might be interesting to see if these 2 deprecation suppressions can be removed if non-msvc builds get on c++20: https://github.com/dolphin-emu/dolphin/blob/master/Source/VSProps/Base.props#L74

@@ -2198,7 +2198,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& fp,
-> OutputIt {
auto significand = fp.significand;
int significand_size = get_significand_size(fp);
static constexpr Char zero = static_cast<Char>('0');
const Char zero = static_cast<Char>('0');
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be part of a separate PR updating the fmt external to at least 3e28dc021cf38b14ac0e2b1a046f783e094bfffc?

Copy link
Member Author

Choose a reason for hiding this comment

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

We should be using a git submodule but I was lazy.

Copy link
Contributor

Choose a reason for hiding this comment

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

We have patches on fmt that would need to be taken care of upstream

@delroth
Copy link
Member

delroth commented Jun 16, 2022

@dolphin-emu-bot rebuild

@shuffle2
Copy link
Contributor

poke on this?

@Tilka Tilka marked this pull request as ready for review July 30, 2022 22:33
@dolphin-emu-bot
Copy link
Contributor

FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:

  • xenoblade-menu on uberogl-lin-radeon: diff

automated-fifoci-reporter

@lioncash
Copy link
Member

lioncash commented Aug 4, 2022

Is this good to go? I'd love to slam the merge button on this

@Tilka
Copy link
Member Author

Tilka commented Aug 4, 2022

Good from my side.

Copy link
Member

@lioncash lioncash left a comment

Choose a reason for hiding this comment

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

alright then, allons y! (finally)

@lioncash lioncash merged commit f59f1a2 into dolphin-emu:master Aug 4, 2022
11 checks passed
@Tilka Tilka deleted the cxx20 branch August 4, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants