This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYG_ASSERT_* messages inverted


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]