OSDN Git Service

gcc/ada/
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Nov 2007 14:11:18 +0000 (14:11 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Nov 2007 14:11:18 +0000 (14:11 +0000)
* a-tasatt.adb: Add a comment at the beginning of the package
explaining why in general 'Unchecked_Access must be used instead
of 'Access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130139 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/a-tasatt.adb

index 1ea33a6..1e8cd52 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-13  Samuel Tardieu  <sam@rfc1149.net>
+
+       * a-tasatt.adb: Add a comment at the beginning of the package
+       explaining why in general 'Unchecked_Access must be used instead
+       of 'Access.
+
 2007-11-10  Samuel Tardieu  <sam@rfc1149.net>
 
        * a-tasatt.adb: Revert previous change for this file as it will
index 97e024c..cc6977f 100644 (file)
 --  "passed" in via access discriminants. GNAT was having trouble with access
 --  discriminants, so all this work was moved to the package body.
 
+--  Note that references to objects declared in this package body must in
+--  general use 'Unchecked_Access instead of 'Access as the package can be
+--  instantiated from within a local context.
+
 with System.Error_Reporting;
 --  Used for Shutdown;