Sign up

2.079.0-beta.1 produces error compiling gtk-d 3.7.3

Hi Mike,

I was just trying 2.079.0 beta1 with one fo my projects and got this error:

../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(7882,25): Error: function gtk.Widget.Widget.callBackDestroy(OnDelegateWrapper wrapper, GClosure* closure) cannot be overloaded with another extern(C) function at ../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(6858,25)<br>/home/acorbi/dlang/dmd-2.079.0-beta.1/linux/bin32/dmd failed with exit code 1.

Previous versions of dmd did not generate this error.

A. Corbi

Re: 2.079.0-beta.1 produces error compiling gtk-d 3.7.3

On 21-02-18 19:57, Antonio Corbi wrote:

Hi Mike,

I was just trying 2.079.0 beta1 with one fo my projects and got this error:

../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(7882,25): Error: function gtk.Widget.Widget.callBackDestroy(OnDelegateWrapper wrapper, GClosure* closure) cannot be overloaded with another extern(C) function at ../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(6858,25)<br>/home/acorbi/dlang/dmd-2.079.0-beta.1/linux/bin32/dmd failed with exit code 1.

Previous versions of dmd did not generate this error.

A. Corbi

This should now be fixed in the GtkD-3.7 branch.

Re: 2.079.0-beta.1 produces error compiling gtk-d 3.7.3

On Wed, 21 Feb 2018 23:02:51 +0100, Mike Wey wrote:

On 21-02-18 19:57, Antonio Corbi wrote:

Hi Mike,

I was just trying 2.079.0 beta1 with one fo my projects and got this error:

../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(7882,25): Error: function gtk.Widget.Widget.callBackDestroy(OnDelegateWrapper wrapper, GClosure* closure) cannot be overloaded with another extern(C) function at ../../../../.dub/packages/gtk-d-3.7.3/gtk-d/generated/gtkd/gtk/Widget.d(6858,25)<br>/home/acorbi/dlang/dmd-2.079.0-beta.1/linux/bin32/dmd failed with exit code 1.

Previous versions of dmd did not generate this error.

A. Corbi

This should now be fixed in the GtkD-3.7 branch.

Thank you very much Mike!

A. Corbi