[Bug 797310] New: Fails to compile

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 19 19:42:15 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797310

            Bug ID: 797310
           Summary: Fails to compile
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-editing-services
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is with GLib 2.58.1 and gcc 8.2.0. I'm not sure what the actual problem
here is.


In file included from /usr/include/glib-2.0/glib/glist.h:32,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from ges.h:24,
                 from ges-base-xml-formatter.c:21:
ges-base-xml-formatter.c: In function ‘_dispose’:
ges-base-xml-formatter.c:352:7: error: function called through a non-compatible
type [-Werror]
       (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~
ges-base-xml-formatter.c:353:39: error: function called through a
non-compatible type [-Werror]
   g_clear_pointer (&priv->containers, (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~
ges-base-xml-formatter.c:354:44: error: function called through a
non-compatible type [-Werror]
   g_clear_pointer (&priv->clipid_pendings, (GDestroyNotify)
g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~
ges-base-xml-formatter.c:355:35: error: function called through a
non-compatible type [-Werror]
   g_clear_pointer (&priv->tracks, (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~
ges-base-xml-formatter.c:356:35: error: function called through a
non-compatible type [-Werror]
   g_clear_pointer (&priv->layers, (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~
In file included from /usr/include/glib-2.0/glib/glist.h:32,
                 from /usr/include/glib-2.0/glib/ghash.h:33,
                 from /usr/include/glib-2.0/glib.h:50,
                 from ges.h:24,
                 from ges-xml-formatter.c:28:
ges-xml-formatter.c: In function ‘_dispose’:
ges-xml-formatter.c:1635:7: error: function called through a non-compatible
type [-Werror]
       (GDestroyNotify) g_hash_table_unref);
/usr/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro
‘g_clear_pointer’
       (destroy) (_ptr);                                                       
\
        ^~~~~~~

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list