CYG_ASSERT_* messages inverted

Gary Thomas gary@mlbassoc.com
Thu May 15 12:58:00 GMT 2003


On Thu, 2003-05-15 at 06:14, Andrew Lunn wrote:
> Am i not understanding something here. If the assertion has failed,
> whatever we are checking is invalid, not valid?
> 

I guess it's all in how you think about it.  The way I read the
macros
  CYG_ASSERT((c), "msg")
reads "properly" in source, i.e. (c) must be true for "msg" to hold.

I agree that when it fails (and prints), the message may seem 
backward.

Final comment should come from those most responsible - Nick?

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-patches mailing list