[gstreamer-bugs] [Bug 614167] New: gstinfo: no previous prototype for 'xxx' when buildign with --disable-gst-debug

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 28 04:11:42 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=614167
  GStreamer | gstreamer (core) | git

           Summary: gstinfo: no previous prototype for 'xxx' when buildign
                    with --disable-gst-debug
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


This is the effect of recent compile warning aditions. The problem here is that
in the case of GST_DISABLE_GST_DEBUG we nullify the function calls with
#defines. If we want to fix that we would need to have uppercase macros for
most of them and either nullify them or call the function.

cc1: warnings being treated as errors
gstinfo.c:1720: error: no previous prototype for ‘gst_debug_message_get’
gstinfo.c:1726: error: no previous prototype for ‘gst_debug_log_default’
gstinfo.c:1733: error: no previous prototype for ‘gst_debug_level_get_name’
gstinfo.c:1739: error: no previous prototype for ‘gst_debug_add_log_function’
gstinfo.c:1744: error: no previous prototype for
‘gst_debug_remove_log_function’
gstinfo.c:1750: error: no previous prototype for
‘gst_debug_remove_log_function_by_data’
gstinfo.c:1756: error: no previous prototype for ‘gst_debug_set_active’
gstinfo.c:1761: error: no previous prototype for ‘gst_debug_is_active’
gstinfo.c:1767: error: no previous prototype for ‘gst_debug_set_colored’
gstinfo.c:1772: error: no previous prototype for ‘gst_debug_is_colored’
gstinfo.c:1778: error: no previous prototype for
‘gst_debug_set_default_threshold’
gstinfo.c:1783: error: no previous prototype for
‘gst_debug_get_default_threshold’
gstinfo.c:1789: error: no previous prototype for
‘gst_debug_set_threshold_for_name’
gstinfo.c:1794: error: no previous prototype for
‘gst_debug_unset_threshold_for_name’
gstinfo.c:1799: error: no previous prototype for ‘gst_debug_category_free’
gstinfo.c:1804: error: no previous prototype for
‘gst_debug_category_set_threshold’
gstinfo.c:1810: error: no previous prototype for
‘gst_debug_category_reset_threshold’
gstinfo.c:1815: error: no previous prototype for
‘gst_debug_category_get_threshold’
gstinfo.c:1821: error: no previous prototype for ‘gst_debug_category_get_name’
gstinfo.c:1827: error: no previous prototype for ‘gst_debug_category_get_color’
gstinfo.c:1833: error: no previous prototype for
‘gst_debug_category_get_description’
gstinfo.c:1839: error: no previous prototype for ‘gst_debug_get_all_categories’
gstinfo.c:1851: error: no previous prototype for
‘gst_debug_construct_term_color’
gstinfo.c:1857: error: no previous prototype for
‘gst_debug_construct_win_color’

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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