From a98c6ffa0baccb68a5e4fdf09de9ad984b41532e Mon Sep 17 00:00:00 2001 From: Gary Dismukes Date: Thu, 19 Nov 2020 15:18:39 -0500 Subject: [PATCH] [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. --- .../doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 +- gcc/ada/gnat_ugn.texi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2