Re: g_assert() semantics is changed without announce
- From: Stefan Kost <ensonic hora-obscura de>
- To: Matthias Clasen <matthias clasen gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_assert() semantics is changed without announce
- Date: Thu, 25 Sep 2008 20:23:58 +0300
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]