Re: g_assert() semantics is changed without announce



Hi,

Matthias Clasen schrieb:
> The important part of the assert semantics are: if the assertion
> fails, the program aborts.
> 
> If you are using assertions in a way that make it important where or
> how the message is reported, I suggest that you are using it wrong...

There is still a breakage. I am using check (check.sf.net) based unit tests and
we intercept log messages to verify assertions. Those tests fail, if the message
can't be intercepted.

Stefan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]