buggins/dlangide

Can't build dlangide with dmd 2.090.1

aeldemery opened this issue · 1 comments

running dub fetch dlangide and dub run dlangide produce the following deprecation warnings and errors:
Building package dlangide in /home/xx/.dub/packages/dlangide-0.8.17/dlangide/ Running pre-generate commands for dcd... Performing "debug" build using /usr/bin/dmd for x86_64. stdx-allocator 2.77.5: building configuration "library"... emsi_containers 0.8.0-alpha.19: building configuration "library"... libdparse 0.9.10: building configuration "library"... dsymbol 0.4.8: building configuration "library"... ../../.dub/packages/dsymbol-0.4.8/dsymbol/src/dsymbol/symbol.d(198,10): Deprecation: Cannot use alias this to partially initialize variable part of type SymbolOwnership. Use part.ptr msgpack-d 1.0.2: building configuration "default"... dcd 0.9.13: building configuration "library"... derelict-util 3.0.0-beta.2: building configuration "library"... derelict-ft 2.0.0-beta.5: building configuration "library"... derelict-gl3 2.0.0-beta.8: building configuration "library"... derelict-sdl2 3.0.0-beta.8: building configuration "derelict-sdl2-dynamic"... dlangui 0.9.182: building configuration "default"... /usr/include/dlang/dmd/std/math.d(282,12): Error: variable std.math.floatTraits!(inout(double)).RECIP_EPSILON only parameters or stack based variables can be inout /usr/include/dlang/dmd/std/math.d(6814,15): Error: template instance std.math.floatTraits!(inout(double)) error instantiating /usr/include/dlang/dmd/std/format.d(2652,27): instantiated from here: isInfinity!(inout(double)) /usr/include/dlang/dmd/std/format.d(1875,20): instantiated from here: formatValueImpl!(Appender!string, inout(double), char) /usr/include/dlang/dmd/std/conv.d(1072,16): instantiated from here: formatValue!(Appender!string, inout(double), char) /usr/include/dlang/dmd/std/conv.d(222,24): instantiated from here: toImpl!(string, inout(double)) ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core/settings.d(501,33): instantiated from here: to!(inout(double)) /usr/include/dlang/dmd/std/format.d(2671,31): Error: template instance std.math.signbit!(inout(double)) error instantiating /usr/include/dlang/dmd/std/format.d(1875,20): instantiated from here: formatValueImpl!(Appender!string, inout(double), char) /usr/include/dlang/dmd/std/conv.d(1072,16): instantiated from here: formatValue!(Appender!string, inout(double), char) /usr/include/dlang/dmd/std/conv.d(222,24): instantiated from here: toImpl!(string, inout(double)) ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core/settings.d(501,33): instantiated from here: to!(inout(double)) /usr/include/dlang/dmd/std/format.d(2709,10): Error: forward reference to inferred return type of function call function () @trusted { import core.stdc.stdio : snprintf; return snprintf(buf2.ptr, buf2.length, sprintfSpec.ptr, fs.width, fs.precision == fs.UNSPECIFIED ? -1 : fs.precision, tval); } () ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,54): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,63): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,73): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,81): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,90): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/graphics/ftfonts.d(541,9): Deprecation: foreach: loop index implicitly converted from size_t to int ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/graphics/scene/scene3d.d(123,9): Deprecation: variable res is shadowing variable dlangui.graphics.scene.scene3d.visit.res. Rename the foreach variable. ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets/editors.d(3447,9): Deprecation: foreach: loop index implicitly converted from size_t to int ../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/widgets/editors.d(3797,21): Deprecation: foreach: loop index implicitly converted from size_t to int /usr/bin/dmd failed with exit code 1.

I got errors as well trying to build with DMD version 2.090.1