https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91011
--- Comment #4 from Adam Badura <adam.f.badura at gmail dot com> --- (In reply to Adam Badura from comment #3) > (In reply to Vladislav Ivanishin from comment #1) > > > > Is there any workaround for versions older than trunk? > > > > > > Using the executable for the appropriate language frontend directly: > > > > `gcc --print-file-name cc1plus` -Wnon-virtual-dtor --help=warning,c++ > > On my system, I'm getting > > -bash: cc1plus: command not found I just found out there is a locate command: > locate cc1plus which finds the binary on my system. Running it directly from the path found does work as expected. And no dummy file is needed.