http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50477
Anthony Foiani <anthony.foiani at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anthony.foiani at gmail dot com --- Comment #7 from Anthony Foiani <anthony.foiani at gmail dot com> --- Sorry to resurrect an oldish bug, but I was just bitten by a related issue (bug 57211). One case where I run into Miles' situation is when writing documentation; as mentioned, root classes often have no-op stubs, but they're also where those stubs are documented. E.g., /** * Do stuff with @a foo. * * @param[in] foo widget to frobnicate. * * @return whether foo was successfully frobbed. */ virtual bool frobnicate( Widget & foo ) {} If I use "/* foo */", then doxygen will complain that there is no matching parameter name. If I don't use those comments, then -Wunused-parameters gives me a warning. Would it be possible to introduce something like -Wno-virtual-unused-parameters to accomodate this? Or possibly merge it with a flag that would allow similar ignoring of defaulted methods (which is how I got here). Thanks!