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 <email@hidden>
- Date: Thu, 7 Dec 2006 00:31:43 +0800
Sorry to respond to my own question, but the problem has disappeared after I clean all, deleted builds/Release folder, reopen the project in XCode, and rebuild.
Must be a corrupted build settings file somewhere.
Thanks, Chris On Dec 6, 2006, at 12: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?).
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