diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-09 10:38:54 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-09 10:38:54 +0000 |
commit | 15175b09198ccc90607e9d00c38dbc3321c0a5f2 (patch) | |
tree | 31ba08971e0c8db8e92b164c64a7ddadbd742ba1 /gcc/ada/erroutc.ads | |
parent | 7efd77ab65d7f00004ea2f4f4ebf554e10037289 (diff) | |
download | ppe42-gcc-15175b09198ccc90607e9d00c38dbc3321c0a5f2.tar.gz ppe42-gcc-15175b09198ccc90607e9d00c38dbc3321c0a5f2.zip |
2009-04-09 Robert Dewar <dewar@adacore.com>
* binderr.adb, errout.adb, errutil.adb: New circuitry for handling
Maximum_Messages.
* erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global
warning status as well.
* opt.ads (Maximum_Messages): New name for Maximum_Errors.
* switch-b.adb, switch-c.adb: Change name Maximum_Errors to
Maximum_Messages.
* bindusg.adb, usage.adb: Update line for -gnatm switch
* gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and
-mnn binder switch.
* sem_ch10.adb: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/erroutc.ads')
-rw-r--r-- | gcc/ada/erroutc.ads | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/erroutc.ads b/gcc/ada/erroutc.ads index ba212eeb42b..f2127deaa39 100644 --- a/gcc/ada/erroutc.ads +++ b/gcc/ada/erroutc.ads @@ -481,7 +481,8 @@ package Erroutc is -- Determines if given location is covered by a warnings off suppression -- range in the warnings table (or is suppressed by compilation option, -- which generates a warning range for the whole source file). This routine - -- only deals with the general ON/OFF case, not specific warnings + -- only deals with the general ON/OFF case, not specific warnings. True + -- is also returned if warnings are globally suppressed. function Warning_Specifically_Suppressed (Loc : Source_Ptr; |