aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/scng.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-06-22 15:26:32 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-06-22 15:26:32 +0200
commit9e9df9da7b83a6591d43c5298958dd20db3c6e73 (patch)
treeca47323ccb53d850a727cc7979b3e8dece6d51fc /gcc/ada/scng.adb
parentfa5aa8353877421229443a04c4d9711fb2dd4aa5 (diff)
downloadgcc-9e9df9da7b83a6591d43c5298958dd20db3c6e73.zip
gcc-9e9df9da7b83a6591d43c5298958dd20db3c6e73.tar.gz
gcc-9e9df9da7b83a6591d43c5298958dd20db3c6e73.tar.bz2
[multiple changes]
2010-06-22 Arnaud Charlet <charlet@adacore.com> * fmap.adb, opt.ads, osint.adb, osint.ads, output.ads, scng.adb, sinput-c.adb, switch-m.ads, tree_io.ads: Use simpler form of Warnings Off/On. 2010-06-22 Thomas Quinot <quinot@adacore.com> * einfo.ads: Minor reformatting. 2010-06-22 Javier Miranda <miranda@adacore.com> * exp_disp.adb (Expand_Interface_Thunk): Do not generate thunk of eliminated primitives. (Make_DT): Avoid referencing eliminated primitives. (Register_Primitive): Do not register eliminated primitives in the dispatch table. Required to add this functionality when the program is compiled without static dispatch tables (-gnatd.t) From-SVN: r161183
Diffstat (limited to 'gcc/ada/scng.adb')
-rw-r--r--gcc/ada/scng.adb8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/ada/scng.adb b/gcc/ada/scng.adb
index 383d884..d4005b4 100644
--- a/gcc/ada/scng.adb
+++ b/gcc/ada/scng.adb
@@ -23,11 +23,6 @@
-- --
------------------------------------------------------------------------------
--- This unit is used by gnatcoll
-pragma Warnings (Off, "*is an internal GNAT unit");
-pragma Warnings (Off, "*use of this unit is non-portable*");
-pragma Warnings (Off, "*use * instead");
-
with Csets; use Csets;
with Err_Vars; use Err_Vars;
with Hostparm; use Hostparm;
@@ -42,9 +37,12 @@ with Uintp; use Uintp;
with Urealp; use Urealp;
with Widechar; use Widechar;
+pragma Warnings (Off);
+-- This package is used also by gnatcoll
with System.CRC32;
with System.UTF_32; use System.UTF_32;
with System.WCh_Con; use System.WCh_Con;
+pragma Warnings (On);
package body Scng is