[Bug 759728] New: teletextdec: build error with clang

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 21 04:07:16 PST 2015


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

            Bug ID: 759728
           Summary: teletextdec: build error with clang
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kwm at FreeBSD.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The teletextdec doesn't build with clang 3.4.1.

  CC       libgstteletextdec_la-gstteletextdec.lo
gstteletextdec.c:845:34: error: expression which evaluates to zero treated as a
      null pointer constant of type 'const gchar *' (aka 'const char *')
      [-Werror,-Wnon-literal-null-conversion]
  lines[lines_count] = g_strdup ('\0');
                                 ^~~~
gstteletextdec.c:948:28: error: expression which evaluates to zero treated as a
      null pointer constant of type 'const gchar *' (aka 'const char *')
      [-Werror,-Wnon-literal-null-conversion]
  colors[rows] = g_strdup ('\0');
                           ^~~~
2 errors generated.
Makefile:897: recipe for target 'libgstteletextdec_la-gstteletextdec.lo' failed
gmake: *** [libgstteletextdec_la-gstteletextdec.lo] Error 1

-- 
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