diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 08:43:32 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 08:43:32 +0000 |
commit | 0bba2a3eedb2689450ece1d2a9e50aca24fc7409 (patch) | |
tree | cffa0da8d27a20221632d034280fd6cfc6feb739 /gcc/ada/usage.adb | |
parent | f967473a4c6dda6c5a1f1c9e502b25163c004a38 (diff) | |
download | gcc-0bba2a3eedb2689450ece1d2a9e50aca24fc7409.tar.gz |
2005-06-14 Robert Dewar <dewar@adacore.com>
* opt.ads, opt.adb: New flags for persistent_bss mode
Add Ada_Version_Explicit, for implementation of AI-362
Add Assertions_Enabled_Config and associated handling
Needed since setting can be changed with Assertion_Policy pragma
Add new flag Warn_On_Ada_2005_Compatibility
* switch-c.adb: Recognize -gnatwy/Y
Set Ada_Version_Explicit, for implementation of AI-362
The -gnatg switch now includes -gnatyu
* usage.adb: Add -gnatwy/Y
Remove wrong asterisk on -gnatwX line
Add line for -gnatyu switch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r-- | gcc/ada/usage.adb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index e57f9ed5b72..dd6e5be802c 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -390,7 +390,9 @@ begin Write_Line (" v* turn on warnings for unassigned variable"); Write_Line (" V turn off warnings for unassigned variable"); Write_Line (" x* turn on warnings for export/import"); - Write_Line (" X* turn off warnings for export/import"); + Write_Line (" X turn off warnings for export/import"); + Write_Line (" y* turn on warnings for Ada 2005 incompatibility"); + Write_Line (" Y turn off warnings for Ada 2005 incompatibility"); Write_Line (" z* turn on size/align warnings for " & "unchecked conversion"); Write_Line (" Z turn off size/align warnings for " & @@ -450,6 +452,7 @@ begin Write_Line (" r check casing for identifier references"); Write_Line (" s check separate subprogram specs present"); Write_Line (" t check token separation rules"); + Write_Line (" u check no unnecessary blank lines"); Write_Line (" x check extra parens around conditionals"); -- Lines for -gnatyN switch |