Wireshark mailing list archives

Re: g_get_monotonic_time() needs glib 2.28


From: Martin Mathieson <martin.r.mathieson () googlemail com>
Date: Wed, 3 May 2017 19:10:04 +0100

I harmlessly stubbed it out on the machine where I can't easily upgrade
glib2, but I will give it a go.  However, I don't build the GTK version,
and its only used in debug calls for Qt..

Martin

On Wed, May 3, 2017 at 6:41 PM, Anders Broman <a.broman58 () gmail com> wrote:



Den 3 maj 2017 18:49 skrev "Martin Mathieson" <martin.r.mathieson@
googlemail.com>:

In the top-level CMakeLists.txt, we currently set GLIB2_MIN_VERSION to
2.22.0.

g_get_monotonic_time() is used in ui/gtk/rtp_player.c and wireshark-qt.cpp.

Should we:
- increase move GLIB2_MIN_VERSION on?
- rework the calls to this function ?
- add something to wsutil/glib-compat.c/h ?

Regards,
Martin


I took a look at adding it to glib-compat.c a while ago and it is pretty
straight forward. If I remember correctly, if we cheat on Windows and call
it directly as we have the required version there.
Regards
Anders


____________________________________________________________
_______________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscr
ibe



____________________________________________________________
_______________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=
unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: