Wireshark-dev: Re: [Wireshark-dev] compiler warnings from glib
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 19 Sep 2007 18:42:59 +0200
Hi,

This has already been solved upstream, see
http://bugzilla.gnome.org/show_bug.cgi?id=457641

Implement the same fix locally and you'll be fine.

Thanx,
Jaap

Richard van der Hoff wrote:
Hi all,

I've just upgraded my version of glib (now 2.14.0), and now I get a load of warnings like:

/usr/include/glib-2.0/glib/gthread.h:335: warning: cast discards qualifiers from pointer target type

Looking at the line in question, it's right; however I'm surprised nobody else here seems to have mentioned it.

Does anyone have a better way of working around this than setting --disable-warnings-as-errors ?

Cheers

Richard