From: Gary Dismukes Date: Thu, 19 Nov 2020 20:18:39 +0000 (-0500) Subject: [Ada] Fix documentation of -gnatw.K switch (activates => disables) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a98c6ffa0baccb68a5e4fdf09de9ad984b41532e;p=gcc.git [Ada] Fix documentation of -gnatw.K switch (activates => disables) gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Correct documentation of the -gnatw.K switch to say that it disables rather than activates the warning. * gnat_ugn.texi: Regenerate. --- diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst index 9c62d6e4a91..82e992a5041 100644 --- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst +++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst @@ -3344,7 +3344,7 @@ of the pragma in the :title:`GNAT_Reference_manual`). :switch:`-gnatw.K` *Suppress warnings on redefinition of names in standard.* - This switch activates warnings for declarations that declare a name that + This switch disables warnings for declarations that declare a name that is defined in package Standard. diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 14e92715ae2..65326ba8404 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -21,7 +21,7 @@ @copying @quotation -GNAT User's Guide for Native Platforms , Nov 20, 2020 +GNAT User's Guide for Native Platforms , Dec 11, 2020 AdaCore @@ -11507,7 +11507,7 @@ not included in this check. @emph{Suppress warnings on redefinition of names in standard.} -This switch activates warnings for declarations that declare a name that +This switch disables warnings for declarations that declare a name that is defined in package Standard. @end table