Re: g_return_if_fail() breakage
- From: Daniel Elstner <daniel elstner gmx net>
- To: Matthias Clasen <maclas gmx de>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: g_return_if_fail() breakage
- Date: 27 Nov 2002 00:29:52 +0100
Am Die, 2002-11-26 um 20.58 schrieb Matthias Clasen:
> I went ahead and changed the definitions of g_assert() and
> g_return_[val_]if_fail() to use G_LIKELY only if it is actually
> doing something. Otherwise, the old definition is used.
Still no joy, sorry :(
With the latest code, the debug message doesn't include
__PRETTY_FUNCTION__ when using gcc < 3 or optimization is disabled.
Ron's _G_LIKELY_PRIVATE() is probably more appropriate.
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]