• 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
Parsing error in NSEvent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing error in NSEvent?


  • Subject: Parsing error in NSEvent?
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 25 Sep 2009 21:00:29 +0200

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Parsing error in NSEvent?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Quartz 2D or Core Animation?
  • Next by Date: Re: Correct way to tell if a path is to a .bundle?
  • Previous by thread: Re: Disappearing NSStatusItem
  • Next by thread: Re: Parsing error in NSEvent?
  • Index(es):
    • Date
    • Thread