Opened 5 months ago
Closed 5 months ago
#70147 closed defect (fixed)
scite fails to build: /opt/local/include/glib-2.0/glib/gunicode.h: error: comma at end of enumerator list
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | scite |
Description
:info:build /opt/local/include/glib-2.0/glib/gmessages.h:489:24: warning: anonymous variadic macros were introduced in C99 :info:build In file included from /opt/local/include/glib-2.0/glib-object.h:27, :info:build from /opt/local/include/glib-2.0/gio/gioenums.h:30, :info:build from /opt/local/include/glib-2.0/gio/giotypes.h:30, :info:build from /opt/local/include/glib-2.0/gio/gio.h:28, :info:build from /opt/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, :info:build from /opt/local/include/gtk-2.0/gdk/gdk.h:32, :info:build from /opt/local/include/gtk-2.0/gtk/gtk.h:32, :info:build from ScintillaGTK.cxx:18: :info:build /opt/local/include/glib-2.0/gobject/genums.h:320:49: warning: anonymous variadic macros were introduced in C99 :info:build /opt/local/include/glib-2.0/gobject/genums.h:363:50: warning: anonymous variadic macros were introduced in C99 :info:build In file included from /opt/local/include/glib-2.0/glib/gstring.h:35, :info:build from /opt/local/include/glib-2.0/glib/giochannel.h:36, :info:build from /opt/local/include/glib-2.0/glib.h:56, :info:build from PlatGTK.cxx:15: :info:build /opt/local/include/glib-2.0/glib/gunicode.h:654: error: comma at end of enumerator list :info:build In file included from /opt/local/include/glib-2.0/glib/gstring.h:37, :info:build from /opt/local/include/glib-2.0/glib/giochannel.h:36, :info:build from /opt/local/include/glib-2.0/glib.h:56, :info:build from PlatGTK.cxx:15: :info:build /opt/local/include/glib-2.0/glib/gstrfuncs.h:425: error: comma at end of enumerator list :info:build In file included from /opt/local/include/glib-2.0/glib.h:64, :info:build from PlatGTK.cxx:15: :info:build /opt/local/include/glib-2.0/glib/gmessages.h:139: error: comma at end of enumerator list :info:build In file included from /opt/local/include/glib-2.0/glib.h:98, :info:build from PlatGTK.cxx:15: :info:build /opt/local/include/glib-2.0/glib/guri.h:92: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/glib/guri.h:213: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/glib/guri.h:263: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/glib/guri.h:338: error: comma at end of enumerator list :info:build In file included from PlatGTK.cxx:16: :info:build /opt/local/include/glib-2.0/gmodule.h:90: error: comma at end of enumerator list :info:build /usr/bin/g++-4.2 -arch ppc -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/local/include/fribidi -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -DNDEBUG -Os -Wall -Wno-missing-braces -Wno-char-subscripts -Wno-long-long -pedantic -D__unix__ -DGTK -DSCI_LEXER -I ../include -I ../src -I ../lexlib -c ../src/CellBuffer.cxx :info:build In file included from /opt/local/include/glib-2.0/gobject/gobject.h:30, :info:build from /opt/local/include/glib-2.0/gobject/gbinding.h:31, :info:build from /opt/local/include/glib-2.0/glib-object.h:24, :info:build from /opt/local/include/glib-2.0/gio/gioenums.h:30, :info:build from /opt/local/include/glib-2.0/gio/giotypes.h:30, :info:build from /opt/local/include/glib-2.0/gio/gio.h:28, :info:build from /opt/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, :info:build from /opt/local/include/gtk-2.0/gdk/gdk.h:32, :info:build from PlatGTK.cxx:17: :info:build /opt/local/include/glib-2.0/gobject/gsignal.h:150: error: comma at end of enumerator list :info:build In file included from /opt/local/include/glib-2.0/gio/giotypes.h:30, :info:build from /opt/local/include/glib-2.0/gio/gio.h:28, :info:build from /opt/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, :info:build from /opt/local/include/gtk-2.0/gdk/gdk.h:32, :info:build from PlatGTK.cxx:17: :info:build /opt/local/include/glib-2.0/gio/gioenums.h:586: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/gio/gioenums.h:609: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/gio/gioenums.h:1474: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/gio/gioenums.h:1680: error: comma at end of enumerator list :info:build /opt/local/include/glib-2.0/gio/gioenums.h:1898: error: comma at end of enumerator list
Attachments (1)
Change History (3)
Changed 5 months ago by barracuda156
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 5 months ago by barracuda156
Owner: | set to Sergey Fedorov <barracuda@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Comma at end of enumerator list is a C99 thing, and you see other warnings about C99 features before that, so build with
-std=gnu99
.