aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnat_ugn.texi
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2024-05-13 11:53:45 +0300
committerMarc Poulhiès <poulhies@adacore.com>2024-06-20 10:50:50 +0200
commit23c332e2a56dc93e3c00e745e08396762a33204e (patch)
treeed085a1717dc1fc9d814c0953d6d446ca83e3e31 /gcc/ada/gnat_ugn.texi
parent0f906fe2137bff551e46a07d1d6bcf84edf9eaed (diff)
downloadgcc-23c332e2a56dc93e3c00e745e08396762a33204e.zip
gcc-23c332e2a56dc93e3c00e745e08396762a33204e.tar.gz
gcc-23c332e2a56dc93e3c00e745e08396762a33204e.tar.bz2
ada: Change messages for -gnatw.v to warnings
Previously this switch was emitting only info messages which was both confusing in terms of the name of the switch that was used internally and externally. gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Update documentation for -gnatw.v. * sem_ch13.adb: Convert all -gnatw.v related messages to warnings. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r--gcc/ada/gnat_ugn.texi17
1 files changed, 8 insertions, 9 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 95e2140..bba4f25 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -12462,14 +12462,13 @@ may not be properly initialized.
@item @code{-gnatw.v}
-`Activate info messages for non-default bit order.'
+`Activate warnings for non-default bit order.'
-This switch activates messages (labeled “info”, they are not warnings,
-just informational messages) about the effects of non-default bit-order
-on records to which a component clause is applied. The effect of specifying
-non-default bit ordering is a bit subtle (and changed with Ada 2005), so
-these messages, which are given by default, are useful in understanding the
-exact consequences of using this feature.
+This switch activates warning messages about the effects of non-default
+bit-order on records to which a component clause is applied. The effect of
+specifying non-default bit ordering is a bit subtle
+(and changed with Ada 2005), so these messages, which are given by default,
+are useful in understanding the exact consequences of using this feature.
@end table
@geindex -gnatw.V (gcc)
@@ -12479,9 +12478,9 @@ exact consequences of using this feature.
@item @code{-gnatw.V}
-`Suppress info messages for non-default bit order.'
+`Suppress warnings for non-default bit order.'
-This switch suppresses information messages for the effects of specifying
+This switch suppresses warnings for the effects of specifying
non-default bit order on record components with component clauses.
@end table