• 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
Unexpected NSEvents.h error after switching to Release build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unexpected NSEvents.h error after switching to Release build


  • Subject: Unexpected NSEvents.h error after switching to Release build
  • From: Chris <email@hidden>
  • Date: Wed, 6 Dec 2006 12:38:31 +0800

Hi, I've been using XCode 2.4.1 and 10.4u SDK to develop a universal Cocoa Document-based application on a PowerPC Mac. While the active build configuration is set to Debug, the app builds ok and functions as expected. However when I switch the active build configuration to Release and tried to build it, XCode indicated a
error: syntax error before 'unsigned'
message which points to 
static inline unsigned int NSEventMaskFromType(NSEventType type) { return (1 << type); }
in NSEvents.h (a file provided by Apple XCode).

I'm suspecting this has to do with build settings and checked them but nothing seems to out of place since it's the default Release settings as provided by XCode.

I've checked this mailing list archive using NSEventMaskFromType as the keyword which returned 2 hits, both not related to this unexpected syntax error. My app doesn't subclass NSTextView.

Appreciate any tips on how to overcome this (bug?).

Thanks,
    Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Unexpected NSEvents.h error after switching to Release build
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: deleting a copy of a dylib fails after dlcose
  • Next by Date: What does this stack mean?
  • Previous by thread: Re: deleting a copy of a dylib fails after dlcose
  • Next by thread: Re: Unexpected NSEvents.h error after switching to Release build
  • Index(es):
    • Date
    • Thread