Ethereal-dev: Re: [Ethereal-dev] Glib noise with -pedantic

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Mon, 19 Jan 2004 23:37:57 +0100
Mmh... I currently cannot compile GLib 1.x but I assume this also
applies to GLib 1.x as it (still) applies to GLib 2.0. The only way to
know is by looking at the definition of g_assert() and
g_assert_not_reached(). I expect those macros are identical in both
GLib versions.

Regards,

Olivier
----- Original Message ----- 
From: "Joerg Mayer"

On Mon, Jan 19, 2004 at 11:15:46AM +0100, Biot Olivier wrote:
> You can get rid of these annoying warnings by prefixing the
definition of
> G_STMT_START in the GLib gmacros.h header file with "__extension__"
(for the
> GCC case):

Great. Is this with glib1 or 2 or both?

 ciao
      Jörg