https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185
--- Comment #3 from Konstantin Kharlamov <Hi-Angel at yandex dot ru> --- (In reply to Andrew Pinski from comment #2) > It is included in -Wc++-compat . Cool, thanks! I'll add the warning to the list we compile the project with, thank you!