Re: Why won't iOS app using MKMapView compile?
Re: Why won't iOS app using MKMapView compile?
- Subject: Re: Why won't iOS app using MKMapView compile?
- From: G S <email@hidden>
- Date: Fri, 08 Jul 2011 18:58:35 -0700
> You should file a bug report anyway, because MapKit's headers should be compatible with Objective-C++.
I will. The problem is that they're just going to bounce it back to
me with "please provide a project that demonstrates this", and since I
don't know where cmath is coming in, I don't know how to create a
project to repro the problem. I guess I'll just have to hack away at
mine and turn that in when I have the time.
I took the MapCallouts example project and changed its controller
file's name extension to mm, but it still compiled. BUT, if I put
#import <cmath>
at the top, BINGO. I get the isinf error. So Kyle's analysis was
right on the money.
Is there some kind of include-file-chaining analysis tool that works
on Objective-C files? I'd think this would be one of the most useful
programmer's tools that an IDE could offer.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden