JUCE 9: app doesn't launch anymore on macOS 10.13/10.14 (___cxa_deleted_virtual)

Hi Guys,

Since JUCE 9.0.5 our app doesn’t launch anymore on macOS 10.13 / 10.14, dyld fails on a missing ___cxa_deleted_virtual.

It comes from this one in juce_AlertWindow.h:

virtual AlertWindow* createAlertWindow (...) = delete;

A deleted virtual still gets a vtable slot, filled with ___cxa_deleted_virtual, which libc++.dylib only exports since 10.15. No warning at build time.
As far as I can see it’s the only deleted virtual in JUCE.

README still says 10.11 minimum, so could you use something else than a deleted virtual there ?

Thanks !

Fixed here:

https://github.com/juce-framework/JUCE/commit/4727a001d12eace875512cf8fec32a1a3485ccfc

Thank you for reporting

1 Like