Closed zkxjzmswkwl closed 2 years ago
../../auxil/source/auxil/modell.d line 958 expression len = getLength() is not a constant.
../../auxil/source/auxil/modell.d line 958 expression len = getLength() is not a constant
Can't be changed to not be const because the value's not present at compile time.
const
Am I missing something?
What branch and compiler/compiler version do you use? I just build sdl example successfully using dmd 2.097.2 and develop branch.
develop
The issue is reproduced with ldc2 compiler. I'll take a look into it.
ldc2
../../auxil/source/auxil/modell.d line 958 expression len = getLength() is not a constant
.Can't be changed to not be
const
because the value's not present at compile time.Am I missing something?