aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2013-01-04 09:28:49 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2013-01-04 10:28:49 +0100
commit7fcd29e08c49eff92770f7e50895dcfe3d306479 (patch)
tree366ebbf2aee44184c69781fa0ee3e11affa5e3e5 /gcc/ada/usage.adb
parent67b8ac46a606b677b20b3834beb2d24c27c86e8c (diff)
downloadgcc-7fcd29e08c49eff92770f7e50895dcfe3d306479.zip
gcc-7fcd29e08c49eff92770f7e50895dcfe3d306479.tar.gz
gcc-7fcd29e08c49eff92770f7e50895dcfe3d306479.tar.bz2
types.ads, [...]: Minor reformatting.
2013-01-04 Robert Dewar <dewar@adacore.com> * types.ads, prj-conf.adb, par-tchk.adb: Minor reformatting. 2013-01-04 Robert Dewar <dewar@adacore.com> * par-ch6.adb (P_Subprogram): Better handling of missing IS after expression function. * par-util.adb (No_Constraint): Improve handling to avoid bad warnings. 2013-01-04 Robert Dewar <dewar@adacore.com> * exp_util.ads, exp_util.adb (Insert_Actions): In expression with actions case, new actions are appended to the sequence rather than prepended. 2013-01-04 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Document -gnatw.d/w.D (does no apply in VMS mode). * usage.adb: Add lines for -gnatw.d/w.D switches. * warnsw.adb: Minor fixes (some missing cases of setting Warning_Doc_Switch). Reject -gnatw.d and -gnatw.D in VMS mode. From-SVN: r194895
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 436a886..f4cceb4 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -474,6 +474,16 @@ begin
Write_Line (" .C* turn off warnings for unrepped components");
Write_Line (" d turn on warnings for implicit dereference");
Write_Line (" D* turn off warnings for implicit dereference");
+
+ -- Switches -gnatw.d/w.D not available on VMS
+
+ if not OpenVMS_On_Target then
+ Write_Line
+ (" .d turn on tagging of warnings with -gnatw switch");
+ Write_Line
+ (" .D* turn off tagging of warnings with -gnatw switch");
+ end if;
+
Write_Line (" e treat all warnings (but not info) as errors");
Write_Line (" .e turn on every optional info/warning " &
"(no exceptions)");