------- 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

Reply via email to