Add --enable-gdb-build-warnings=... to configure{,.in}.
[deliverable/binutils-gdb.git] / gdb / doc / gdbint.texinfo
index 019274cf4c6bc628421d7c0305f329a1a9be2df5..7e486f4252a840b1b68fe6ffcc47425a32919b14 100644 (file)
@@ -2773,11 +2773,12 @@ does not require it, @value{GDBN} requires it.
 @value{GDBN} follows an additional set of coding standards specific to @value{GDBN},
 as described in the following sections.
 
-You can configure with @samp{--enable-build-warnings} to get GCC to
-check on a number of these rules.  @value{GDBN} sources ought not to engender any
-complaints, unless they are caused by bogus host systems.  (The exact
-set of enabled warnings is currently @samp{-Wall -Wpointer-arith
--Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations}.
+You can configure with @samp{--enable-build-warnings} or
+@samp{--enable-gdb-build-warnings} to get GCC to check on a number of
+these rules.  @value{GDBN} sources ought not to engender any complaints,
+unless they are caused by bogus host systems.  (The exact set of enabled
+warnings is currently @samp{-Wimplicit -Wreturn-type -Wcomment
+-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized}.
 
 @subsection Formatting
 
This page took 0.026673 seconds and 4 git commands to generate.