> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to