Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6552] New: --enable-warnings-as-errors is broken with glib

Date: Tue, 8 Nov 2011 23:20:13 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6552

           Summary: --enable-warnings-as-errors is broken with glib-2.31.0
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: ojab@xxxxxxx


Build Information:
wireshark 1.7.1 (SVN Rev 39772 from /trunk)
--
"Major changes to threading and synchronisation", see:
ftp://ftp.gnome.org/pub/gnome/sources/glib/2.31/glib-2.31.0.news
http://developer.gnome.org/glib/2.31/glib-Deprecated-Thread-APIs.html

gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../wiretap    -I/usr/include
-I/usr/local/include -I/usr/include
'-DPLUGIN_DIR="/usr/lib/wireshark/plugins/1.7.1"' -Werror -DINET6
-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE
-DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -D_FORTIFY_SOURCE=2
-D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition
-Wno-error=unused-but-set-variable -fexcess-precision=fast -I/usr/include
-I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15  
-I/usr/include -MT libui_a-capture_file_dlg.o -MD -MP -MF
.deps/libui_a-capture_file_dlg.Tpo -c -o libui_a-capture_file_dlg.o `test -f
'capture_file_dlg.c' || echo './'`capture_file_dlg.c
capture_dlg.c: In function ‘capture_filter_init’:
capture_dlg.c:382:3: error: implicit declaration of function ‘g_mutex_new’
[-Werror=implicit-function-declaration]
capture_dlg.c:382:20: error: assignment makes pointer from integer without a
cast [-Werror]
capture_dlg.c:383:3: error: implicit declaration of function ‘g_cond_new’
[-Werror=implicit-function-declaration]
capture_dlg.c:383:17: error: assignment makes pointer from integer without a
cast [-Werror]
capture_dlg.c:384:16: error: assignment makes pointer from integer without a
cast [-Werror]
capture_dlg.c:386:3: error: implicit declaration of function ‘g_thread_create’
[-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.