aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2014-02-25 15:19:43 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2014-02-25 16:19:43 +0100
commitfe2194dfff5f72512520193c39566b875f0a3ae7 (patch)
tree055a263ad3f757c2ee4d86b30567de7621eb59f6 /gcc/ada/usage.adb
parent4c51ff88f2748e7f59d69d2b99c6749f4ec308c7 (diff)
downloadgcc-fe2194dfff5f72512520193c39566b875f0a3ae7.zip
gcc-fe2194dfff5f72512520193c39566b875f0a3ae7.tar.gz
gcc-fe2194dfff5f72512520193c39566b875f0a3ae7.tar.bz2
binde.adb: Change messages to mention -gnatel instead of -gnatwl.
2014-02-25 Robert Dewar <dewar@adacore.com> * binde.adb: Change messages to mention -gnatel instead of -gnatwl. * gnat_ugn.texi: Update documentation of -gnatwl Add documentation of -gnatel/-gnateL. * opt.ads (Warn_Info_Messages): New flag. * sem_elab.adb: Use Elab_Warnings, Elab_Info_Messages to control messages. * sem_prag.adb: Use Elab_Warnings, Elab_Info_Messages to control messages. * switch-m.ad, switch-c.adb: Recognize new -gnatel/EL switches. * usage.adb: Add documentation of -gnatel/-gnateL Update documentation of -gnatwl/-gnatwL. * warnsw.adb: New handling of Elab_Warnings, Elab_Info_Messages * warnsw.ads (Elab_Info_Messages): New field in Warning_Record From-SVN: r208139
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb16
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 0b50555..79aa648 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -218,6 +218,16 @@ begin
Write_Switch_Char ("eInn");
Write_Line ("Index in multi-unit source, e.g. -gnateI2");
+ -- Line for -gnatel switch
+
+ Write_Switch_Char ("el");
+ Write_Line ("Turn on info messages on generated Elaborate[_All] pragmas");
+
+ -- Line for -gnateL switch
+
+ Write_Switch_Char ("eL");
+ Write_Line ("Turn off info messages on generated Elaborate[_All] pragmas");
+
-- Line for -gnatem switch
Write_Switch_Char ("em=?");
@@ -512,10 +522,8 @@ begin
Write_Line (" K* turn off warnings on constant variable");
Write_Line (" .k turn on warnings for standard redefinition");
Write_Line (" .K* turn off warnings for standard redefinition");
- Write_Line (" l turn on warnings for missing " &
- "elaboration pragma");
- Write_Line (" L* turn off warnings for missing " &
- "elaboration pragma");
+ Write_Line (" l turn on warnings for elaboration problems");
+ 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 (" m+ turn on warnings for variable assigned " &