GNOME Bugzilla – Bug 679674
Remove trailing commas from enums
Last modified: 2012-07-11 08:50:46 UTC
Created attachment 218407 [details] [review] 0001-core-Avoid-pedantic-compiler-warnings-with-C.patch This patch lets me use -Wpedantic with g++ when including grilo headers. Other GNOME libraries generally don't have these trailing commas.
Comment on attachment 218407 [details] [review] 0001-core-Avoid-pedantic-compiler-warnings-with-C.patch I've applied the same changes also to other files
commit b5382e28d6765301cc64271e974cc1af35c8ceac Author: Murray Cumming <murrayc@murrayc.com> Date: Tue Jul 10 12:38:03 2012 +0200 core: Avoid pedantic compiler warnings with C++. g++ complains about trailing commas in enums when using -Wpedantic. This fixes https://bugzilla.gnome.org/show_bug.cgi?id=679674 Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> autogen.sh | 2 +- libs/net/grl-net-wc.c | 2 +- libs/net/grl-net-wc.h | 2 +- src/grl-caps.h | 2 +- src/grl-media-source.c | 4 ++-- src/grl-media-source.h | 2 +- src/grl-metadata-source.c | 2 +- src/grl-metadata-source.h | 4 ++-- src/grl-operation-options.h | 2 +- src/grl-plugin-registry.c | 2 +- src/grl-plugin-registry.h | 2 +- tools/grilo-test-ui/main.c | 10 +++++----- 12 files changed, 18 insertions(+), 18 deletions(-)