This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/34301] GNAT Bug detected: visibility
- From: "sam at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2007 12:52:51 -0000
- Subject: [Bug ada/34301] GNAT Bug detected: visibility
- References: <bug-34301-15461@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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