On Mon, Jun 22, 2009 at 5:09 AM, Brian Bruinewoud<[email protected]> wrote: > CGFloat c = 0.0L;
The compiler is silent here because it knows that 0.0L is finitely representable as a float (0.0). As for the other two occasions, you would need to compile with data flow analysis (which I believe is triggered by -O2 or higher) for the compiler to perform the constant folding necessary to see that you're storing a finitely-representable value. I would not recommend disabling -Wconversion. It is a great way to highlight places where your code is not 64-bit ready. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
