[Bug ada/34301] GNAT Bug detected: visibility
sam at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 30 12:53:00 GMT 2007
------- Comment #1 from sam at gcc dot gnu dot org 2007-11-30 12:52 -------
GCC 4.3.0 will give a proper error message:
29. X : constant access T_Type := TA.To_Pointer (50);
|
>>> expected private type "System.Address"
>>> found type universal integer
You have to use "System.Storage_Elements.To_Address (50)" here.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34301
More information about the Gcc-bugs
mailing list