-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug]: Juce 7.0.x doesn't compile with C++23 on AppleClang #1350
Comments
I also tested this with 7.0.10. |
No solution yet? |
The commits I've seen after 7.0.10 don't seem to tackle anything related to C++23, but also I haven't tried building again using C++23 since then. Did you also get a failure @tarlanahad ? |
Thanks we're aware of the issue but we're working on JUCE 8 first. Unfortunately to fix builds for C++23 we'll need to make changes in areas that have been heavily modified in JUCE 8 which is why we haven't tackled this yet. Sorry for any inconvenience caused and thanks for your patience. |
@lkotsonis , yes, I'm getting failure mainly because of not fully defined unique_ptr, which C++ 23 strictly requires. I hope you can solve this, @Anthony-Nicholls , we will be looking forward to using JUCE with C++ 23. Thanks for the prompt response. |
Detailed steps on how to reproduce the bug
Try building e.g. the DemoRunner using the XCode project and setting the C++ standard to C++23.
What is the expected behaviour?
That compilation of the juce libraries succeeds using C++23.
Operating systems
macOS
What versions of the operating systems?
Sonoma 14.3.1
XCode 15.2
Architectures
ARM
Stacktrace
XCode errors:
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchI have not tested against the
develop
branchCode of Conduct
The text was updated successfully, but these errors were encountered: