https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83592 --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I'm wondering if simply disabling the warning in TYPENAME would make sense (it suppresses the warning).