Hi,

First: I'm not able to get online in 10.6 just yet and so haven't been
able to read the new docs, in case this is something really obvious.

Problem: I've got a screen saver that no longer runs on 10.6, System
Preferences tells me. So I launched Xcode in order to try and figure
out why, but didn't get very far. When trying to build the screen
saver for 10.6, the compiler failed with a parsing error in NSEvent.h,
complaining about an undefined NX_SUBTYPE_MOUSE_TOUCH (declared in the
last block of code):

#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
enum {        /* event subtypes for mouse events */
    NSMouseEventSubtype             = NX_SUBTYPE_DEFAULT,
    NSTabletPointEventSubtype       = NX_SUBTYPE_TABLET_POINT,
    NSTabletProximityEventSubtype   = NX_SUBTYPE_TABLET_PROXIMITY,
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
    NSTouchEventSubtype             = NX_SUBTYPE_MOUSE_TOUCH // FAILS HERE
#endif
};
#endif

What's up with this and is there a way to fix it?

Thanks!
_______________________________________________

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