GNOME Bugzilla – Bug 550729
gst-plugins-base won't compile with "-pedantic" option
Last modified: 2008-09-13 11:14:30 UTC
Please describe the problem: Due to an unneeded comma in gst-plugins-base/gst-libs/gst/audio/audio.h, one cannot compile programs that include this header (or for example gst/audio/multichannel.h) when using the -pedantic option in gcc. This patch removes the extra comma. Steps to reproduce: Compile an application with the -pedantic option that includes <gst/audio/audio.h> Actual results: Compilation fails. Expected results: It should compile. Does this happen every time? Yes. Other information:
Created attachment 117955 [details] [review] Removes extra comma in gst/gst-libs/audio/audio.h
Thanks, committed (somewhat accidentally even though -base is frozen, but it's harmless enough): 2008-09-13 Tim-Philipp Müller <tim.muller at collabora co uk> * gst-libs/gst/audio/audio.h: (GST_AUDIO_FIELD_SIGNED): Remove trailing comma from enum list, which causes problems with -pendantic (#550729).