diff options
author | Gary Dismukes <dismukes@adacore.com> | 2020-11-19 15:18:39 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-14 10:51:52 -0500 |
commit | a98c6ffa0baccb68a5e4fdf09de9ad984b41532e (patch) | |
tree | d5a8a4f2cd8b55c72120f51ae6509e5c434420f1 | |
parent | e5e963ab2edf47f8fd62e98401edd2d56beeca84 (diff) | |
download | gcc-a98c6ffa0baccb68a5e4fdf09de9ad984b41532e.zip gcc-a98c6ffa0baccb68a5e4fdf09de9ad984b41532e.tar.gz gcc-a98c6ffa0baccb68a5e4fdf09de9ad984b41532e.tar.bz2 |
[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.
-rw-r--r-- | gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 | ||||
-rw-r--r-- | 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 9c62d6e..82e992a 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 14e9271..65326ba 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 |