gtkd-developers / GtkD

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

Tons of deprecations with DMD 2.094 #307

Open joelcnz opened 3 years ago

joelcnz commented 3 years ago

Seem just to be this kind of error:

../../../.dub/packages/gtk-d-3.9.0/gtk-d/generated/sourceview/gsv/c/functions.d(248,2): Deprecation: template gtkd.Loader.Linker.link(T)(ref T funct, string symbol, LIBRARY[] libraries...) is deprecated - Use the LIBRARY_* symbols defined for each package, instead of gtkd.paths.LIBRARY

MikeWey commented 3 years ago

It looks like a regression in dmd, moving the deprecated functions to the bottom of the struct atleast fixes the warnings for me.

See also: 7c49a3b2123e1fdfdca35c1162f5a1a35d037840

tsbockman commented 3 years ago

I am affected by this as well.