aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/tree_io.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-07-15 11:47:20 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-07-15 11:47:20 +0200
commit3a3362620167fd31b30aa391bf6d84c45a3d6af2 (patch)
treeec0a6bfcd2f3ac952bad0f4a3783f18eda07756a /gcc/ada/tree_io.ads
parent1b73fbc42fcde549e0c94d2c7c69206d7c3cb0fc (diff)
downloadgcc-3a3362620167fd31b30aa391bf6d84c45a3d6af2.zip
gcc-3a3362620167fd31b30aa391bf6d84c45a3d6af2.tar.gz
gcc-3a3362620167fd31b30aa391bf6d84c45a3d6af2.tar.bz2
[multiple changes]
2009-07-15 Sergey Rybin <rybin@adacore.com> * tree_in.ads, tree_io.ads: Add pragma Warnings Off/On for with clause to System.OS_Lib to avoid warnings. 2009-07-15 Robert Dewar <dewar@adacore.com> * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor reformatting. 2009-07-15 Thomas Quinot <quinot@adacore.com> * g-socthi-mingw.adb: Minor comment addition * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. From-SVN: r149668
Diffstat (limited to 'gcc/ada/tree_io.ads')
-rw-r--r--gcc/ada/tree_io.ads9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ada/tree_io.ads b/gcc/ada/tree_io.ads
index f5d4bff..c347b4f 100644
--- a/gcc/ada/tree_io.ads
+++ b/gcc/ada/tree_io.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2009 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -37,7 +37,14 @@
with Types; use Types;
with System; use System;
+
+-- Note: the pragma Warnings (Off) here is because ASIS compiles this unit
+-- without -gnatg, and System.OS_Lib is an implementation unit. This is a
+-- temporary kludge which will be better resolved later on ???
+
+pragma Warnings (Off);
with System.OS_Lib; use System.OS_Lib;
+pragma Warnings (On);
package Tree_IO is