Seems fixed in quantal:

http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/quantal/glib2.0/quantal/view/head:/gio/gioenums.h#L1652

** Changed in: glib2.0 (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1007726

Title:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of
  enumerator list [-pedantic]

Status in “glib2.0” package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu 12.10
  My code is here : 
http://bazaar.launchpad.net/~aurelien-riv/+junk/livewallpapers/files

  cd ../.. && make (in directory: 
/home/ubuntu/dev/livewallpapers/trunk/livewallpapers-config/src)
  cc -std=c89 -pedantic -W -Wall -Wextra -Wshadow -Wredundant-decls 
-Wnested-externs -Wundef -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -o livewallpaper-config 
livewallpapers-config/src/galaxy-settings.c 
livewallpapers-config/src/lwp-settings.c livewallpapers-config/src/main.c 
livewallpapers-config/src/nexus-settings.c livewallpapers-config/src/widgets.c 
`pkg-config --libs --cflags gtk+-3.0 appindicator3-0.1`
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from livewallpapers-config/src/main.h:31,
                   from livewallpapers-config/src/galaxy-settings.h:20,
                   from livewallpapers-config/src/galaxy-settings.c:18:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from livewallpapers-config/src/lwp-settings.h:22,
                   from livewallpapers-config/src/lwp-settings.c:18:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from livewallpapers-config/src/main.h:31,
                   from livewallpapers-config/src/main.c:18:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]
  livewallpapers-config/src/main.c: In function ‘main’:
  livewallpapers-config/src/main.c:73:6: warning: assignment from incompatible 
pointer type [enabled by default]
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from livewallpapers-config/src/nexus-settings.h:19,
                   from livewallpapers-config/src/nexus-settings.c:18:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from livewallpapers-config/src/main.h:31,
                   from livewallpapers-config/src/widgets.h:21,
                   from livewallpapers-config/src/widgets.c:18:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]

  cd ../.. && make (in directory: 
/home/ubuntu/dev/livewallpapers/trunk/livewallpapers-config/src)
  cc -std=c89 -pedantic -W -Wall -Wextra -Wshadow -Wredundant-decls 
-Wnested-externs -Wundef -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -o indicator-livewallpaper 
indicator-livewallpapers/src/main.c -pthread `pkg-config --libs --cflags 
gtk+-3.0 appindicator3-0.1`
  In file included from /usr/include/glib-2.0/gio/giotypes.h:30:0,
                   from /usr/include/glib-2.0/gio/gio.h:28,
                   from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                   from /usr/include/gtk-3.0/gdk/gdk.h:32,
                   from /usr/include/gtk-3.0/gtk/gtk.h:30,
                   from 
/usr/include/libappindicator3-0.1/libappindicator/app-indicator.h:33,
                   from indicator-livewallpapers/src/main.c:29:
  /usr/include/glib-2.0/gio/gioenums.h:1653:23: warning: comma at end of 
enumerator list [-pedantic]
  Compilation finished successfully.

  
  Error : There is a coma there but it shouldn't : 
  typedef enum /*< flags >*/ {
    G_TEST_DBUS_NONE = 0,
  } GTestDBusFlags;

  /* /usr/include/glib-2.0/gio/gioenums.h:1653 */

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1007726/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to