https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485
--- Comment #7 from fiesh at zefix dot tv --- Thanks for the outline! We'll turn off -Wmismatched-new-delete with GCC 11 and try to switch to the selective opt-out with pragmas in 12. That's a good workaround for now. On a random related note, the man page says -Wmismatched-new-delete is enabled by default, but playing around with it, it seems it's only turned on by -Wall: https://godbolt.org/z/n1s6Y8G85