• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
nasty Objective-C++ bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nasty Objective-C++ bug


  • Subject: nasty Objective-C++ bug
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Sun, 13 Jan 2002 16:38:34 -0800

Just filed a bug with Apple (#2840238), but thought others might have seen this and have some workaround to get around the compiler crash - the following generates an internal compiler error: (note: it also crashes if you try and use !=)

#import <Foundation/Foundation.h>

@interface Boom : NSObject {
}
@end

@implementation Boom
+ (void)initialize
{
if (self == [Boom class]) {
}
}
@end

Inside this if I usually have a

[self setVersion:CURRENT_VERSION];

Have others seen this? Worked around it how?

--> Michael B. Johnson, Ph.D. -- email@hidden
--> Studio Tools, Pixar Animation Studios
--> http://xenia.media.mit.edu/~wave


  • Prev by Date: Re: cocoa-dev digest, Vol 2 #10 - 18 msgs
  • Next by Date: Re: Dragging to NSToolbar
  • Previous by thread: Re: cocoa-dev digest, Vol 2 #10 - 18 msgs
  • Next by thread: Password Text Field Formatter
  • Index(es):
    • Date
    • Thread