https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283

Barry Revzin <barry.revzin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #17 from Barry Revzin <barry.revzin at gmail dot com> ---
(In reply to Andrew Pinski from comment #2)
> That is because this is C++ only option.  It is listed under
> https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/C_002b_002b-Dialect-Options.
> html#C_002b_002b-Dialect-Options :
> 
> -Wno-terminate (C++ and Objective-C++ only)
> Disable the warning about a throw-expression that will immediately result in
> a call to terminate.
> 
> This is exact location for all other C++ only options are located.
> 
> So not a bug.

Sure, but right now some warnings are under Warning Options and others are
under Dialect Options. I would never think to look for warnings under dialect
options, since my initial thought would be that the latter is for the kinds of
things that show up first on that page... -fabi-version, -fchar8_t, etc. You
have to go pretty far down that page to get to warnings. -Wsuggest-override
used to be under Warning Options, was recently moved to Dialect Options for
instance. 

I would like to request that either all the warning options are documented
under warning options, or that there is one page for all the C++ warning
options (as distinct from "dialect options"), or something else along those
lines. The current split is a bit confusing and makes it hard to find warnings.

Reply via email to