Re: NSEqualRects returns wrong answer
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