Wireshark mailing list archives
Re: Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset'
From: Anders Broman <anders.broman () ericsson com>
Date: Fri, 13 May 2016 10:15:42 +0000
-----Original Message----- From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Guy Harris Sent: den 13 maj 2016 11:16 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset' On May 13, 2016, at 1:56 AM, Anders Broman <anders.broman () ericsson com> wrote:
I got a report that the build fails on SuSE 11.3. Is someone else seeing this? I don’t have the time to look into it just right now. cc1: warnings being treated as errors print_stream.c: In function 'print_line_text': print_stream.c:151: error: implicit declaration of function 'g_get_codeset' print_stream.c:151: error: assignment makes pointer from integer without a castThe GLib documentation for g_get_codeset(): https://developer.gnome.org/glib/stable/glib-Character-Set-Conversion.html#g-get-codeset doesn't have a "Since 2.XXX" item, but perhaps they just forgot to add one. What version of GLib is in SuSE 11.3? My Mac has GLib 2.36.0 installed, and g_get_codeset() is declared in glib/gcharset.h; glib.h includes <glib/gcharset.h>, so including glib.h should be sufficient to get >g_get_codeset() declared in that version of GLib.
The reporter says: glib2-lang-2.22.5-0.2.23 glib2-2.22.5-0.2.23 ___________________________________________________________________________ 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 ___________________________________________________________________________ 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:
- Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset' Anders Broman (May 13)
- Re: Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset' Guy Harris (May 13)
- Re: Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset' Anders Broman (May 13)
- Re: Build fails on SuSE 11.3, print_stream.c:151: error: implicit declaration of function 'g_get_codeset' Guy Harris (May 13)