Wireshark-bugs: [Wireshark-bugs] [Bug 6884] New: broken build, dumpcap.c: g_async_queue_timed_po
Date: Wed, 29 Feb 2012 08:40:43 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6884

           Summary: broken build, dumpcap.c:
                    g_async_queue_timed_pop_unlocked() is deprecated in
                    glib > 2.30
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: steve@xxxxxxxxxx


Build Information:
Wireshark SVN revision 41241 with glib version 2.31.16-0ubuntu2 (development
version) on Ubuntu 12.04.
--
g_async_queue_timed_pop_unlocked() is deprecated in the latest glib development
version (2.31). It should be replaced by g_async_queue_timeout_pop_unlocked().
This breaks the build.

See:
http://permalink.gmane.org/gmane.comp.gnome.svn/555803

gcc output:

dumpcap.c: In function ‘capture_loop_start’:
dumpcap.c:3333:13: error: ‘g_async_queue_timed_pop_unlocked’ is deprecated
(declared at /usr/include/glib-2.0/glib/gasyncqueue.h:86): Use
'g_async_queue_timeout_pop_unlocked' instead [-Werror=deprecated-declarations]

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