• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why won't iOS app using MKMapView compile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Why won't iOS app using MKMapView compile?
      • From: Greg Parker <email@hidden>
References: 
 >Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: Chris Ridd <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: koko <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: Conrad Shultz <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: Kyle Sluder <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: G S <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: Kyle Sluder <email@hidden>)
 >Re: Why won't iOS app using MKMapView compile? (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Core Data Predicate Question
  • Next by Date: Re: Why won't iOS app using MKMapView compile?
  • Previous by thread: Re: Why won't iOS app using MKMapView compile?
  • Next by thread: Re: Why won't iOS app using MKMapView compile?
  • Index(es):
    • Date
    • Thread