Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects - setting protocol crashing GCC 4.0



I filed the following bug report last year, which details at least one
possible reason for this behaviour: selector types are encoded
differently between gcc 3 and 4, and between objc++ and objc. This bug
report ( rdar://4301047 ) was closed without any comment.
I've since deleted the test project mentioned in the report, but it's
extremely easy to reproduce: simply build a class with a non-trivial
selector, then print the selectors signature; compile with both gcc
3.3 and 4.0.1, and compare.

I did see that radar, but I think it's unrelated. I would expect runtime issues due to that bug, not the compiler crashing.


Trying my original sample code with gcc 4.0.1, I cannot reproduce the crashing issue. The code doesn't compile properly, of course, because it's not actually valid, but it fails as you'd expect, with appropriate error messages.

So, I guess my specific issue was fixed at some point. Thus, I'd recommend again that the original poster submit a bug report.

Wade Tregaskis

    ICQ: 40056898
    AIM, Yahoo & Skype: wadetregaskis
    MSN: email@hidden
    iChat & email: email@hidden
    Jabber: email@hidden
    Google Talk: email@hidden

    http://homepage.mac.com/wadetregaskis/

-- Sed quis custodiet ipsos custodes?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Distributed Objects - setting protocol crashing GCC 4.0 (From: "Johannes Fortmann" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.