Re: Spurious warnings
Re: Spurious warnings
- Subject: Re: Spurious warnings
- From: Jens Alfke <email@hidden>
- Date: Mon, 21 Jul 2008 10:26:34 -0700
On 21 Jul '08, at 9:23 AM, Jan E. Schotsman wrote:
When I enable the "Prototype conversion" warning in a project I get
warned about float fields in my structs being converted from double
to float. Is this a known bug?
It's correct behavior, if you read the description of that warning
flag. It's warning you whenever the function's prototype results in
parameter values being implicitly converted from one type (double) to
another type (float). If your code required maximum numeric accuracy,
you'd probably want to be warned about this kind of truncation.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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