https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easyhack Status|RESOLVED |NEW Last reconfirmed| |2016-05-26 CC| |manu at gcc dot gnu.org Resolution|INVALID |--- Summary|-Wterminate is not |Inconsistent location for |described in "Options to |C++ warning options in the |Request or Suppress |manual |Warnings" | Ever confirmed|0 |1 --- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #3) > There are other C++-only options under "Options to Request or Suppress > Warnings". > For example: > * -Wc++11-compat > * -Wc++14-compat > * -Wconditionally-supported > * -Wno-conversion-null > * -Wzero-as-null-pointer-constant > * -Wsubobject-linkage > * -Wdelete-incomplete > * -Wuseless-cast > * -Wsized-deallocation > * -Wno-invalid-offsetof > > It's kind of inconsistent whether C++-only warnings are listed here or there. The perfect solution would be to move the options documentation to the *.opt files where they are defined and auto-generate the corresponding parts of the *.texi files from the *.opt files. This way the documentation would be much more consistent. This is similar to what we already do for target-hooks: see gcc/target.def That would be a very nice little project for a newbie. The short-term solution is for someone to propose patches to move those to the correct place: https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps