Re: Unexpected NSEvents.h error after switching to Release build
Re: Unexpected NSEvents.h error after switching to Release build
- Subject: Re: Unexpected NSEvents.h error after switching to Release build
- From: Chris Espinosa <email@hidden>
- Date: Thu, 7 Dec 2006 15:06:08 -0800
On Dec 5, 2006, at 8:38 PM, Chris wrote: 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?).
Hmmm. could you select the file, choose Preprocess... from the Build menu, and email me the resulting file?
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