On Aug 15, 2011, at 08:13 PM, David Duncan wrote:

> On Aug 15, 2011, at 10:56 AM, Martin Hewitson wrote:
> 
>> Is it ok to declare a property to be NSPopover, even if that class doesn't 
>> exist on 10.6? 
> 
> Yes. Using a class as a data type doesn't create linkage.
> 
>> I tried the 
>> 
>> if ([NSPopover class]) {}
>> 
>> trick, but I get the same error when running on 10.6.8. I'll try some more 
>> in case I made a mistake, but….
> 
> 
> But again, are you building with Clang? :).

No, the project is set to use "System default (LLVM GCC 4.2)". You would rather 
recommend "Apple LLVM compiler 2.1" ?

Martin 

> --
> David Duncan
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer 
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: martin.hewit...@aei.mpg.de
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to