[gstreamer-bugs] [Bug 536981] New: gstdoc-scangobj: printf-like functions without format string

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jun 6 06:52:07 PDT 2008


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

  GStreamer | common | Ver: HEAD CVS
           Summary: gstdoc-scangobj: printf-like functions without format
                    string
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: common
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
gstdoc-scangobj currently uses some printf-like functions without format
string. This leads to compiler warnings with -Wformat=2:

cc1: warnings being treated as errors
gstreamer-scan.c: In function 'output_hierarchy':
gstreamer-scan.c:712: error: format not a string literal and no format
arguments
gstreamer-scan.c: In function 'output_interfaces':
gstreamer-scan.c:763: error: format not a string literal and no format
arguments
gstreamer-scan.c: In function 'output_prerequisites':
gstreamer-scan.c:808: error: format not a string literal and no format
arguments

Attached patch fixes this, will commit after freezes.


-- 
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=536981.




More information about the Gstreamer-bugs mailing list