]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Create usage entry for -gnatw_l
authorViljar Indus <indus@adacore.com>
Wed, 21 Aug 2024 08:57:58 +0000 (11:57 +0300)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 2 Sep 2024 08:22:50 +0000 (10:22 +0200)
gcc/ada/

* doc/gnat_ugn/building_executable_programs_with_gnat.rst: update
documentation for the -gnatw_l switch.
* usage.adb: Add -gnatw_l entry.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi
gcc/ada/usage.adb

index 4576009bc528e302882e131a81e46692277fbde9..d8501b2357d4dc6c576bf17e4f5abc4398eeefe7 100644 (file)
@@ -3433,7 +3433,7 @@ of the pragma in the :title:`GNAT_Reference_manual`).
 .. index:: -gnatw_l  (gcc)
 
 :switch:`-gnatw_l`
-  *Activate warnings on inheritely limited types.*
+  *Activate warnings on implicitly limited types.*
 
   This switch causes the compiler trigger warnings on record types that do not
   have a limited keyword but contain a component that is a limited type.
@@ -3442,9 +3442,9 @@ of the pragma in the :title:`GNAT_Reference_manual`).
 .. index:: -gnatw_L  (gcc)
 
 :switch:`-gnatw_L`
-  *Suppress warnings on inheritely limited types.*
+  *Suppress warnings on implicitly limited types.*
 
-  This switch suppresses warnings on inheritely limited types.
+  This switch suppresses warnings on implicitly limited types.
 
 
 .. index:: -gnatwm  (gcc)
index 375f39f85602d0d18e258cb588ba407aeafd78c7..e59ee9f781914b91364440685ac5be94e9f222f1 100644 (file)
@@ -11678,7 +11678,7 @@ This switch suppresses listing of inherited aspects.
 
 @item @code{-gnatw_l}
 
-`Activate warnings on inheritely limited types.'
+`Activate warnings on implicitly limited types.'
 
 This switch causes the compiler trigger warnings on record types that do not
 have a limited keyword but contain a component that is a limited type.
@@ -11691,9 +11691,9 @@ have a limited keyword but contain a component that is a limited type.
 
 @item @code{-gnatw_L}
 
-`Suppress warnings on inheritely limited types.'
+`Suppress warnings on implicitly limited types.'
 
-This switch suppresses warnings on inheritely limited types.
+This switch suppresses warnings on implicitly limited types.
 @end table
 
 @geindex -gnatwm (gcc)
@@ -29695,8 +29695,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 @anchor{d1}@w{                              }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 
 @c %**end of body
 @bye
index 5b7743703c5ea44a74b892bc66675a95f8d280ed..38a82beb615b74b0f64e0b2ec04e64a6c787e44f 100644 (file)
@@ -538,6 +538,8 @@ begin
    Write_Line ("        L*   turn off warnings for elaboration problems");
    Write_Line ("        .l   turn on info messages for inherited aspects");
    Write_Line ("        .L*  turn off info messages for inherited aspects");
+   Write_Line ("        _l   turn on warnings for implicitly limited types");
+   Write_Line ("        _L*  turn off warnings for implicitly limited types");
    Write_Line ("        m+   turn on warnings for variable assigned " &
                                                   "but not read");
    Write_Line ("        M*   turn off warnings for variable assigned " &