diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-15 11:47:20 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-15 11:47:20 +0200 |
commit | 3a3362620167fd31b30aa391bf6d84c45a3d6af2 (patch) | |
tree | ec0a6bfcd2f3ac952bad0f4a3783f18eda07756a /gcc/ada/tree_in.ads | |
parent | 1b73fbc42fcde549e0c94d2c7c69206d7c3cb0fc (diff) | |
download | gcc-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_in.ads')
-rw-r--r-- | gcc/ada/tree_in.ads | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/tree_in.ads b/gcc/ada/tree_in.ads index d41ee43..5fa0735 100644 --- a/gcc/ada/tree_in.ads +++ b/gcc/ada/tree_in.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- -- @@ -34,7 +34,13 @@ -- tools that need to read the tree to the tree reading routines, and is -- thus bound as part of such tools. +-- 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); procedure Tree_In (Desc : File_Descriptor); -- Desc is the file descriptor for the file containing the tree, as written |