public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/34492]  New: corefoundation-cfbase.ads failed to compile
@ 2007-12-15 23:40 rogermc at iinet dot net dot au
  2007-12-15 23:46 ` [Bug ada/34492] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rogermc at iinet dot net dot au @ 2007-12-15 23:40 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/34492] corefoundation-cfbase.ads failed to compile
  2007-12-15 23:40 [Bug ada/34492] New: corefoundation-cfbase.ads failed to compile rogermc at iinet dot net dot au
@ 2007-12-15 23:46 ` pinskia at gcc dot gnu dot org
  2007-12-16  0:24 ` rogermc at iinet dot net dot au
  2008-05-09  9:47 ` sam at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-15 23:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-15 23:45 -------
And where did you get corefoundation-cfbase.ads from?  And why do you think
this is a GCC bug?


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/34492] corefoundation-cfbase.ads failed to compile
  2007-12-15 23:40 [Bug ada/34492] New: corefoundation-cfbase.ads failed to compile rogermc at iinet dot net dot au
  2007-12-15 23:46 ` [Bug ada/34492] " pinskia at gcc dot gnu dot org
@ 2007-12-16  0:24 ` rogermc at iinet dot net dot au
  2008-05-09  9:47 ` sam at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: rogermc at iinet dot net dot au @ 2007-12-16  0:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rogermc at iinet dot net dot au  2007-12-16 00:24 -------
The bindings were installed from Carbon_Bindings_xcode.pkg which I think I got
via the www.adapower.net site.
I previously submitted bug 34489 in response to a compilation message
requesting me to do so, so that's why I thought it might be a ggc bug.
As a result of that request, I thought I should also submit this one.
Since upgrading my Mac Intel system to Leopard and Xcode version 3.0, I have
also experienced numerous other compilation failures of this nature with C++
programs which also led me to think it might be a gcc bug.

The program that I was building had previously built successfully prior to  the
upgrade to  Leopard and Xcode version 3.0.
 As I am only returning to Ada after a very long absence, I don't know whether
or not the compiler is now correctly reporting an Ada syntax error. If it is,
then this is not a bug which seems strange as the previous version of  Xcode
compiled without complaint.

If there is a better free version of Ada framework bindings that I could
install I would be grateful to be advised where I could obtain it.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/34492] corefoundation-cfbase.ads failed to compile
  2007-12-15 23:40 [Bug ada/34492] New: corefoundation-cfbase.ads failed to compile rogermc at iinet dot net dot au
  2007-12-15 23:46 ` [Bug ada/34492] " pinskia at gcc dot gnu dot org
  2007-12-16  0:24 ` rogermc at iinet dot net dot au
@ 2008-05-09  9:47 ` sam at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-05-09  9:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from sam at gcc dot gnu dot org  2008-05-09 09:46 -------
This is not a GCC bug in this case, the Ptr formal parameter masks the Ptr
type.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-09  9:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-15 23:40 [Bug ada/34492] New: corefoundation-cfbase.ads failed to compile rogermc at iinet dot net dot au
2007-12-15 23:46 ` [Bug ada/34492] " pinskia at gcc dot gnu dot org
2007-12-16  0:24 ` rogermc at iinet dot net dot au
2008-05-09  9:47 ` sam at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).