This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]