[Bug c++/80916] Spurious "declared 'static' but never defined" warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916 ensadc at mailnesia dot com changed: What|Removed |Added CC||ensadc at mailnesia dot com --- Comment #3 from ensadc at mailnesia dot com --- Reduced: struct j { virtual void dispatch(void *); }; template struct i : j { void dispatch(void *); }; namespace { struct l : i {}; } void f(j *k) { k->dispatch(0); }
[Bug c++/80916] Spurious "declared 'static' but never defined" warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-11-27 CC||msebor at gcc dot gnu.org Ever confirmed|0 |1 Known to fail||7.2.0, 8.0 --- Comment #2 from Martin Sebor --- Confirmed with GCC 8.0.
[Bug c++/80916] Spurious "declared 'static' but never defined" warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80916 --- Comment #1 from Davin McCall --- (Does not actually require -Wno-invalid-offsetof to reproduce; that was just me copying my command line literally. Problem first appears in GCC 6.1, not in 5.x, still present in 7.1).