aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2013-10-17 10:36:08 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2013-10-17 12:36:08 +0200
commit9877936160e4131c0acdc03250b976d438c6e192 (patch)
tree7e6216d9fa11b4629a2e436fb370d6da4b817706 /gcc/ada/usage.adb
parent5114f3ff9a90572c042601ce8b4164cdd8561e1d (diff)
downloadgcc-9877936160e4131c0acdc03250b976d438c6e192.zip
gcc-9877936160e4131c0acdc03250b976d438c6e192.tar.gz
gcc-9877936160e4131c0acdc03250b976d438c6e192.tar.bz2
gnat_ugn.texi: Document -gnatw.y/-gnatw.Y.
2013-10-17 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Document -gnatw.y/-gnatw.Y. * opt.ads (List_Body_Required_Info): New flag. * prep.adb: Minor reformatting. * sem_ch7.adb (Unit_Requires_Body_Info): New procedure (Analyze_Package_Specification): Add call to Unit_Requires_Body_Info. * ug_words: Add entries for -gnatw.y and -gnatw.Y. * usage.adb: Add line for new warning switch -gnatw.y/.Y. * vms_data.ads: Add entry for [NO_]WHY_SPEC_NEEDS_BODY warning qualifier. * warnsw.ads, warnsw.adb: Implement new warning switch -gnatw.y/.Y. From-SVN: r203748
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 2d541c4..3f566f4 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -576,6 +576,8 @@ begin
Write_Line (" .X* turn off warnings for non-local exception");
Write_Line (" y*+ turn on warnings for Ada compatibility issues");
Write_Line (" Y turn off warnings for Ada compatibility issues");
+ Write_Line (" .y turn on info messages for why pkg body needed");
+ Write_Line (" .Y* turn off info messages for why pkg body needed");
Write_Line (" z*+ turn on warnings for suspicious " &
"unchecked conversion");
Write_Line (" Z turn off warnings for suspicious " &