[Bug ada/34492] New: corefoundation-cfbase.ads failed to compile

rogermc at iinet dot net dot au gcc-bugzilla@gcc.gnu.org
Sat Dec 15 23:40:00 GMT 2007


Mac Intel Leopard Xtools 3.0

Compilation of corefoundation-cfbase.ads failed at line 317.
Confused by Ptr parameter name and return type Ptr!

    function CFAllocatorReallocate (

         Allocator : Cfallocatorref; 
          Ptr       : Void_Ptr;       
          Newsize   : CFIndex;        
          Hint      : CFOptionFlags   ) 
      return Ptr; 

Fixed by changing 
Ptr       : Void_Ptr;   
to
aPtr       : Void_Ptr;


-- 
           Summary: corefoundation-cfbase.ads failed to compile
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rogermc at iinet dot net dot au


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34492



More information about the Gcc-bugs mailing list