• 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: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)


  • Subject: Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
  • From: Pontus Ilbring <email@hidden>
  • Date: Fri, 4 Nov 2005 14:55:48 +0100

Your width method returns the correct value. Unfortunately, the
calling method is assuming that it called the width method returning a
float, and so goes looking in the floating point registers for its
return value.

I'd say that the lack of warning is a bug.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time) (From: Martin Wilz <email@hidden>)

  • Prev by Date: [SOLVED]Linking in Categories from static libraries.
  • Next by Date: RE : newbie: adding nibs: i'm stuck
  • Previous by thread: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
  • Next by thread: Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
  • Index(es):
    • Date
    • Thread