Re: GtkD compile failed. shift by 32

2012-06-14 Thread 1100110
On Mon, 11 Jun 2012 14:05:05 -0500, Mike Wey wrote: On 06/11/2012 03:21 AM, 1100110 wrote: http://svn.dsource.org/projects/gtkd/branches/070125merge/gtkD/src/gdk/Color.d uint getValue() { return (gdkColor.red <<32) | (gdkColor.green << 16) | (gdkColor.blue); } Just browsing throug

Re: GtkD compile failed. shift by 32

2012-06-11 Thread Mike Wey
On 06/11/2012 03:21 AM, 1100110 wrote: http://svn.dsource.org/projects/gtkd/branches/070125merge/gtkD/src/gdk/Color.d uint getValue() { return (gdkColor.red <<32) | (gdkColor.green << 16) | (gdkColor.blue); } Just browsing through the source it looks like gtkColor.red is a ushort. I get

Re: GtkD compile failed. shift by 32

2012-06-10 Thread Jonathan M Davis
On Sunday, June 10, 2012 20:21:29 1100110 wrote: > http://svn.dsource.org/projects/gtkd/branches/070125merge/gtkD/src/gdk/Color > .d > > > uint getValue() > { > return (gdkColor.red <<32) | (gdkColor.green << 16) | (gdkColor.blue); > } > > > Just browsing through the source it looks like

GtkD compile failed. shift by 32

2012-06-10 Thread 1100110
http://svn.dsource.org/projects/gtkd/branches/070125merge/gtkD/src/gdk/Color.d uint getValue() { return (gdkColor.red <<32) | (gdkColor.green << 16) | (gdkColor.blue); } Just browsing through the source it looks like gtkColor.red is a ushort. I get this error. dmd -O -m64 -Isrc -c src