After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 360151 - Fixes compiling with forte: disable warning as error for empty declaration
Fixes compiling with forte: disable warning as error for empty declaration
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-06 12:43 UTC by Josep Torra Valles
Modified: 2006-10-09 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[patch] Fixes the bug (1.41 KB, patch)
2006-10-06 12:44 UTC, Josep Torra Valles
committed Details | Review

Description Josep Torra Valles 2006-10-06 12:43:21 UTC
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:
Comment 1 Josep Torra Valles 2006-10-06 12:44:43 UTC
Created attachment 74130 [details] [review]
[patch] Fixes the bug
Comment 2 Zaheer Abbas Merali 2006-10-06 13:57:00 UTC
Looks ok, committing
Comment 3 Zaheer Abbas Merali 2006-10-09 12:23:23 UTC
reopening because GST_MESSAGE_TYPE_ANY is specified wrong.
Comment 4 Zaheer Abbas Merali 2006-10-09 13:41:03 UTC
ignore previous comment, wrong bug.