Warning on cast but API says it's fine.
Warning on cast but API says it's fine.
- Subject: Warning on cast but API says it's fine.
- From: Stephane Sudre <email@hidden>
- Date: Wed, 17 Aug 2005 11:54:10 +0200
I have the following really complex code:
const char * toto;
toto=[aNSString UTF8String];
When I compile this with Xcode 2, I'm getting a warning informing me
basically that the return value of UTF8String is not a const char *.
I'm using the 10.3.9 SDK.
The doc and header are stating that:
- (const char *)UTF8String;
So I guess that Xcode is wrong. But why?
_______________________________________________
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