Wireshark mailing list archives

Re: g_print & co on Windows


From: Pascal Quantin <pascal.quantin () gmail com>
Date: Tue, 13 Sep 2016 15:31:17 +0200

Hi Dario,

2016-09-13 15:26 GMT+02:00 Dario Lombardo <dario.lombardo.ml () gmail com>:

Hi
I'm debugging sshdump on windows and I found an unexpected behavior with
glib logging functions.

g_error: seems to work. A popup appears and program stops
g_warning: nothing, with or without G_MESSAGES_DEBUG=all
g_debug: same as above
g_print: nothing printed

I recall something about those functions not working on windows, but I
can't find a pointer in the ML archives. Is is a known bug on glib? Or
something missing on my side?


You can find some analysis done by Bill a few years ago explaining why it
is a mess: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6695#c2

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

Current thread: