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

juce_gui_basics: add missing header for std::exchange #1081

Closed

Conversation

romsom
Copy link

@romsom romsom commented Jun 17, 2022

This PR fixes builds on ArchLinux with GCC 12 by adding a missing include in juce_gui_basics.
Feel free to criticize or edit if you think the include should be put somewhere else.

Copy link

@ralgar ralgar left a comment

Choose a reason for hiding this comment

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

Also on Arch Linux with GCC 12.1.0 here. Can confirm this issue, and I came here to submit this PR myself.

I agree with the location of the include, at least that it is in the correct file. It fixes the build error I was experiencing in modules/juice_gui_basics/windows/juce_ComponentPeer.h, when building juceaide.

@soundsbyjs
Copy link

Bumping this -- came to submit the same PR.

@McMartin
Copy link
Contributor

McMartin commented Jun 20, 2022

@reuk Please cherry-pick ce8aff2 to master and juce7. Thanks!

@tpoole
Copy link
Member

tpoole commented Jun 21, 2022

This change, implemented in a different JUCE commit, has now been merged to master.

Thank you for your submission.

@tpoole tpoole closed this Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants