https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118458
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Stephen Berry from comment #4) > One particular warning I'm trying to silence right now is: `used but never > defined`. > > I now see that there is an open issue to disable this particular warning > here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66918 No that is for a C testcase and NOT a C++ testcase. Also for C++ ignorning `used but never defined` is almost never right. Can you file a new example of why you want to disable that warning?