ada: Create usage entry for -gnatw_l

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.
This commit is contained in:
Viljar Indus 2024-08-21 11:57:58 +03:00 committed by Marc Poulhiès
parent 2df253f35e
commit 1c9a6d8203
3 changed files with 9 additions and 7 deletions

View 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)

View 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

View 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 " &