nomad-software / tkd

GUI toolkit for the D programming language based on Tcl/Tk
MIT License
117 stars 16 forks source link

Trying to build with dmd git master #21

Closed John-Colvin closed 10 years ago

John-Colvin commented 10 years ago

I'm getting these errors:

source/tkd/widget/canvas.d(970): Warning: calling std.typecons.Nullable!int.Nullable.this without side effects discards return value of type Nullable!int, prepend a cast(void) if intentional
source/tkd/widget/canvas.d(1120): Warning: calling std.typecons.Nullable!int.Nullable.this without side effects discards return value of type Nullable!int, prepend a cast(void) if intentional
source/tkd/widget/canvas.d(1240): Warning: calling std.typecons.Nullable!int.Nullable.this without side effects discards return value of type Nullable!int, prepend a cast(void) if intentional
source/tkd/widget/canvas.d(1315): Warning: calling std.typecons.Nullable!int.Nullable.this without side effects discards return value of type Nullable!int, prepend a cast(void) if intentional
source/tkd/widget/canvas.d(1391): Warning: calling std.typecons.Nullable!int.Nullable.this without side effects discards return value of type Nullable!int, prepend a cast(void) if intentional

I've had a look through the code and I honestly can't understand why it's saying this.

nomad-software commented 10 years ago

Hi John,

Tkd only supports stable DMD releases. https://github.com/nomad-software/tkd/issues/12

John-Colvin commented 10 years ago

I'm aware of that, but it's sometimes useful to pre-empt changes, especially when they are simple. Would you be interested in patches that enable compatibility with dmd git master?

nomad-software commented 10 years ago

I'm interested in all patches. :)