https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69550
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Milan Bouchet-Valat from comment #0) > Would it be possible to provide a way to turn the error into a warning? For > example, -std=gnu++11 could allow this, while -std=c++11 would still > consider it as an error. There is no reason to sanction this as a supported GNU extension. If it's allowed it should only be via -fpermissive which means "yes I know my code is rubbish but I can't fix it".