a-tasatt.adb: Add a comment at the beginning of the package explaining why in general...

gcc/ada/
	* a-tasatt.adb: Add a comment at the beginning of the package
	explaining why in general 'Unchecked_Access must be used instead
	of 'Access.

From-SVN: r130139
This commit is contained in:
Samuel Tardieu 2007-11-13 14:11:18 +00:00 committed by Samuel Tardieu
parent c28e913a8b
commit 0e506c4b4f
2 changed files with 10 additions and 0 deletions

View 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

View file

@ -217,6 +217,10 @@
-- "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;