Closed WebFreak001 closed 10 months ago
✅ This PR fixes following deprecations:
source/dub/internal/dyaml/node.d(2513,9): Deprecation: scope variable `this` assigned to non-scope parameter `_param_0` calling `match`
source/dub/dependency.d(917,18): Deprecation: scope variable `this` assigned to non-scope parameter `oth` calling `opEquals`
source/dub/dependency.d(920,30): Deprecation: scope variable `this` assigned to non-scope parameter `a` calling `doCmp`
source/dub/dependency.d(921,27): Deprecation: scope variable `this` assigned to non-scope parameter `b` calling `doCmp`
source/dub/dependency.d(939,26): Deprecation: scope variable `this` assigned to non-scope parameter `oth` calling `opEquals`
source/dub/internal/configy/Exceptions.d(130,34): Deprecation: reference to local variable `buffer` assigned to non-scope parameter `__anonymous_param` calling ``
source/dub/internal/configy/Exceptions.d(134,34): Deprecation: reference to local variable `buffer` assigned to non-scope parameter `__anonymous_param` calling ``
source/dub/internal/configy/Exceptions.d(248,27): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(250,27): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(283,27): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(286,27): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(323,31): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(325,31): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(332,31): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
source/dub/internal/configy/Exceptions.d(335,31): Deprecation: `@safe` function `formatMessage` calling `formattedWrite`
Total deprecations: 0
Total warnings: 0
Build statistics:
statistics (-before, +after)
-executable size=5524656 bin/dub
-rough build time=92s
+executable size=5455024 bin/dub
+rough build time=88s
from #2620:
source\dub\internal\vibecompat\core\file.d(104,39): Error: cannot use `in` parameters with `extern(Windows)` functions
source\dub\internal\vibecompat\core\file.d(104,39): parameter `to` declared as `in` here
source\dub\internal\vibecompat\core\file.d(104,39): Error: cannot use `in` parameters with `extern(Windows)` functions
source\dub\internal\vibecompat\core\file.d(104,39): parameter `from` declared as `in` here
/home/runner/work/dub/dub/source/dub/recipe/sdl.d:349: error: undefined reference to '_D3std6format__TQkTaTAyaZQtFNaNfMxAaQpZQs'
/home/runner/work/dub/dub/source/dub/recipe/sdl.d:350: error: undefined reference to '_D3std6format__TQkTaTAyaZQtFNaNfMxAaQpZQs'
/home/runner/work/dub/dub/source/dub/recipe/sdl.d:351: error: undefined reference to '_D3std6format__TQkTaTAyaZQtFNaNfMxAaQpZQs'
/home/runner/work/dub/dub/source/dub/recipe/sdl.d:380: error: undefined reference to '_D3std6format__TQkTaTAyaZQtFNaNfMxAaQpZQs'
/home/runner/work/dub/dub/source/dub/internal/utils.d:1086: error: undefined reference to '_D3std3net4curl4HTTP15onReceiveHeaderMFNdDFMxAaMxQeZvZv'
What ? :|
looks like that only happens on LDC, probably because phobos is compiled differently, causing different mangling
reopening #2620
sorry for the bunch of force pushes, I just wanted to get the PR Info action to work for this, as it should summarize changing deprecations like this and should show fixed things. (building on linux)