gtkd-developers / GtkD

GtkD is a D binding and OO wrapper of GTK+ originally created by Antonio Monteiro
http://gtkd.org
Other
322 stars 71 forks source link

[Gtk2 branch] Deprecated c-style array declarations in g*types.d #114

Closed aubade closed 9 years ago

aubade commented 9 years ago

DMD 2.067 now emits warnings on arrays declared like int array[number];, causing dub to fail by default.

../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gdktypes.d(2136): Warning: instead of C-style syntax, use D-style syntax 'uint[256] colors'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gdktypes.d(2979): Warning: instead of C-style syntax, use D-style syntax 'char[20] b'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gdktypes.d(2980): Warning: instead of C-style syntax, use D-style syntax 'short[10] s'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gdktypes.d(2981): Warning: instead of C-style syntax, use D-style syntax 'long[5] l'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gdktypes.d(3253): Warning: instead of C-style syntax, use D-style syntax 'double[GDK_MAX_TIMECOORD_AXES] axes'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/giotypes.d(3608): Warning: instead of C-style syntax, use D-style syntax 'void*[24] padding'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gobjecttypes.d(370): Warning: instead of C-style syntax, use D-style syntax 'gpointer[7] dummy'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2686): Warning: instead of C-style syntax, use D-style syntax 'char*[5] bgPixmapName'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2688): Warning: instead of C-style syntax, use D-style syntax 'GtkRcFlags[5] colorFlags'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2689): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] fg'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2690): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] bg'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2691): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] text'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2692): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] base'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2840): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] fg'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2841): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] bg'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2842): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] light'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2843): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] dark'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2844): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] mid'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2845): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] text'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2846): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] base'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2847): Warning: instead of C-style syntax, use D-style syntax 'GdkColor[5] textAa'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2853): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] fgGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2854): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] bgGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2855): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] lightGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2856): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] darkGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2857): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] midGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2858): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] textGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2859): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] baseGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2860): Warning: instead of C-style syntax, use D-style syntax 'GdkGC*[5] textAaGc'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(2863): Warning: instead of C-style syntax, use D-style syntax 'GdkPixmap*[5] bgPixmap'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(4930): Warning: instead of C-style syntax, use D-style syntax 'double[10] rulerScale'
../../../../.dub/packages/gtk-d-Gtk2/src/gtkc/gtktypes.d(4931): Warning: instead of C-style syntax, use D-style syntax 'int[5] subdivide'