[gstreamer-bugs] [Bug 360151] New: Fixes compiling with forte: disable warning as error for empty declaration

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 6 05:44:10 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=360151

  GStreamer | gstreamer (core) | Ver: HEAD CVS

           Summary: Fixes compiling with forte: disable warning as error for
                    empty declaration
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: josep at fluendo.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
warning: syntax error:  empty declaration

This warning is reported due an un-nedded semicolon. 
I found that mainly it happens when preprocesor is used to construct function
blocks with macros as for example with QUARK_FUNC(...) and G_DEFINE_TYPE(...)
macros. 
We can remove the semicolon because it causes a problem for gst-indent.

Steps to reproduce:



Actual results:


Expected results:


Does this happen every time?


Other information:


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list