The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Build issues with TextEdit sample Thread Tools Search this Thread Display Modes
I read the TextEdit sample and build it successfully.
However, I meet semantic issues when I add some code, for example:

NSArray *arr = [NSArray arrayWithObjects:@"a", nil];

int num = 0;
if (num > arr.count)
{
//.....
}
it has issues like:
Comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long').

I Guess it matters with the configuration files. I notice in Omni-Global-Common.xcconfig:

// Make CG and NS geometry types be the same. Mostly doesn't matter on iPhone, but this also makes NSInteger types be defined based on 'long' consistently, which avoids conflicting warnings from clang + llvm 2.7 about printf format checking

OTHER_CFLAGS = $(value) -DNS_BUILD_32_LIKE_64


Does this setting cause the problem?

If not, could anyone tell me how to fix the problem?

Thanks!
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lion iOS 5 beta4 Xcode 4.2 build issues... SpiraMira Omni Frameworks 2 2011-08-29 02:31 AM
Perspectives issues with build 712 ext555 OmniFocus 1 for Mac 10 2007-12-07 12:22 AM
Serious issues with build 712 ext555 OmniFocus 1 for Mac 2 2007-12-06 05:59 AM
anyone having issues with perspectives in latest build? ext555 OmniFocus 1 for Mac 0 2007-10-13 07:18 AM


All times are GMT -8. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.