From a4ada47ed008c7a14b24221107c2ece7af934a8b Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Mon, 16 Dec 2019 10:33:31 +0000 Subject: [PATCH] [Ada] Correct documentation of -gnatw_C switch 2019-12-16 Bob Duff gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Correct documentation of -gnatw_C switch * gnat_ugn.texi: Regenerate. From-SVN: r279417 --- gcc/ada/ChangeLog | 6 ++++++ .../doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 +- gcc/ada/gnat_ugn.texi | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2eeef49b859..2953bfe5500 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2019-12-16 Bob Duff + + * doc/gnat_ugn/building_executable_programs_with_gnat.rst: + Correct documentation of -gnatw_C switch + * gnat_ugn.texi: Regenerate. + 2019-12-16 Joel Brobecker * doc/gnat_ugn/building_executable_programs_with_gnat.rst 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 fd1854749cc..7f5dabe75fb 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 @@ -3000,7 +3000,7 @@ of the pragma in the :title:`GNAT_Reference_manual`). .. index:: -gnatw_C (gcc) :switch:`-gnatw_C` - *Suppress warnings on missing component clauses.* + *Suppress warnings on unknown condition in Compile_Time_Warning.* This switch supresses warnings on a pragma Compile_Time_Warning or Compile_Time_Error whose condition has a value that is not diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index f37679ec13a..1a991e91118 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -11250,7 +11250,7 @@ The default is that such warnings are generated. @item @code{-gnatw_C} -@emph{Suppress warnings on missing component clauses.} +@emph{Suppress warnings on unknown condition in Compile_Time_Warning.} This switch supresses warnings on a pragma Compile_Time_Warning or Compile_Time_Error whose condition has a value that is not -- 2.30.2