Wireshark-dev: Re: [Wireshark-dev] XML parsing
From: Bill Meier <[email protected]>
Date: Sat, 21 Mar 2009 08:41:34 -0400
Bill Meier wrote:
Abhik Sarkar wrote:
Ah, thanks Jeff; I understand now. I checked (http://library.gnome.org/devel/glib/unstable/glib-Simple-XML-Subset-Parser.html) and it suggests it has been around since version 2.16... so I guess it is OK to use it.
Actually:

configure.in requiring GTK to be 2.4 or greater means that Wireshark tries to support any version of GTK starting with 2.4.
(Any code requiring a feature only available in later GTK versions is 
#ifdef'd to be compiled only if Wireshark is being built with that 
version or newer. In general, if this is done, alternative code should 
be provided which compiles and works with the earlier GTK version).
So: if a function was implemented as of GTK 2.16, that means that any 
Wireshark build on a system with an earlier GTK version will fail trying 
to use that function. (Note that GTK 2.4 is [much] older than Gtk 2.16).
For example: my fairly up-to-date Fedora 10 system has Gtk2 2.14.7....

Ooops: We're talking Glib not Gtk in this case.

The principle remains the same: Wireshark currently supports Glib versions starting with 2.4.


(