https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41215
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I added -Wdiscarded-qualifiers a while ago.