Unexpected NSEvents.h error after switching to Release build
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