[gstreamer-bugs] [Bug 478092] gstid3v2mux.cc:deprecated conversion from string constant to 'gchar*' with g++-4.2

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Sep 19 06:36:27 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=478092

  GStreamer | gst-plugins-good | Ver: HEAD CVS

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|t.i.m at zen.co.uk             |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.15




------- Comment #3 from Tim-Philipp Müller  2007-09-19 13:36 UTC -------
Should all be fixed now, sorry for the delay:

 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/glib-compat-private.h:
          Add compatibility macro for g_intern_string() for
          GLib-2.8 (any reason we can't just bump the
          requirement to at least 2.10?)

        * gst/gstpadtemplate.h:
        * gst/gstelementfactory.c:
        * gst/gstregistryxml.c:
        * gst/gstregistrybinary.c:
          Make GstStaticPadTemplate's templ_name field a const gchar * and fix
          up the internal code accordingly.  This shouldn't be a problem, since
          there is no reason external code could ever assume the string in such
          a structure is dynamically allocated unless it did that itself;  the
          use of g_strdup() is private to element factories.  The new code also
          saves some memory by putting pad template name strings into the GLib
          quark table instead of allocating them dynamically.
          Declaring this field constant fixes warnings with g++-4.2 when using
          the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=478092.




More information about the Gstreamer-bugs mailing list