• 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: NSEqualRects returns wrong answer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEqualRects returns wrong answer


  • Subject: Re: NSEqualRects returns wrong answer
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 5 Apr 2006 19:13:46 -0700


On Apr 5, 2006, at 2:01 PM, Michael Link wrote:

I've run into a case where I have code that calls NSEqualRects() with apparently identical NSRects (as reported by gdb) but it still returns NO. Funny thing is that it works when optimization is turned off (as is per default in debug build settings), but when I turn on -Os it doesn't seem to compare correctly.

If you're getting different results at different optimization levels, then it's a compiler bug. File it with the test case.


-jcr

_______________________________________________
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: 
 >NSEqualRects returns wrong answer (From: Michael Link <email@hidden>)

  • Prev by Date: Thread safety issue...
  • Next by Date: cross inclusion with fully qualified types in interface
  • Previous by thread: Re: NSEqualRects returns wrong answer
  • Next by thread: Reporting Charting generator
  • Index(es):
    • Date
    • Thread