https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100493
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Status|NEW |ASSIGNED CC| |ppalka at gcc dot gnu.org Target Milestone|--- |11.3 --- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> --- Fixed on trunk so far by diagnosing [=, this] in C++17 only with -pedantic. This fix will also get backported to 11.3