https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550
--- Comment #4 from Milan Bouchet-Valat <nalimilan at club dot fr> --- Yes, -fpermissive is a better solution. The code at stake has been replaced in the master branch, but breaking API in stable releases isn't great.