digitalmars.D.learn - dub.sdl bindbc-glfw is returning a deprecation warming. So what do I
- WhatMeWorry (11/11) Mar 08 2023 my small dub.sdl project uses:
- Steven Schveighoffer (8/24) Mar 08 2023 It's newly deprecated, without much explanation:
- IchorDev (4/15) Mar 08 2023 Sorry about that. Try updating to bindbc-glfw 1.0.2, should be
- WhatMeWorry (2/8) Mar 09 2023 No problem :) Thanks!
my small dub.sdl project uses: dependency "bindbc-glfw" version="~>1.0.1" versions "GLFW_33" and returns Building bindbc-glfw 1.0.1: building configuration [dynamic] C:\Users\Admin\AppData\Local\dub\packages\bindbc-glfw-1.0.1\bindbc-glfw\source\bindbc\glfw\bi ddynamic.d(557,11): Deprecation: variable `bindbc.loader.system.bindWindows` is deprecated So now what? I'm pretty sure deprecation means to replace with something better but what would that be? I looked on github code in binddynamic.d at line 557 and the package info at the DUB web site and I'm still clueless.
Mar 08 2023
On 3/8/23 7:21 PM, WhatMeWorry wrote:my small dub.sdl project uses: dependency "bindbc-glfw" version="~>1.0.1" versions "GLFW_33" and returns Building bindbc-glfw 1.0.1: building configuration [dynamic] C:\Users\Admin\AppData\Local\dub\packages\bindbc-glfw-1.0.1\bindbc-glfw\source\bindbc\glfw\bi ddynamic.d(557,11): Deprecation: variable `bindbc.loader.system.bindWindows` is deprecated So now what? I'm pretty sure deprecation means to replace with something better but what would that be? I looked on github code in binddynamic.d at line 557 and the package info at the DUB web site and I'm still clueless.It's newly deprecated, without much explanation: https://github.com/BindBC/bindbc-loader/commit/d13d7f246f325472b26282cfac8d2b02b26eccac Last commit to bindbc-glfw is from last year, so it makes sense why it is triggering this. I feel it was in error to deprecate symbols without bumping the major revision. -Steve
Mar 08 2023
On Thursday, 9 March 2023 at 00:21:02 UTC, WhatMeWorry wrote:my small dub.sdl project uses: dependency "bindbc-glfw" version="~>1.0.1" versions "GLFW_33" and returns Building bindbc-glfw 1.0.1: building configuration [dynamic] C:\Users\Admin\AppData\Local\dub\packages\bindbc-glfw-1.0.1\bindbc-glfw\source\bindbc\glfw\bi ddynamic.d(557,11): Deprecation: variable `bindbc.loader.system.bindWindows` is deprecated So now what? I'm pretty sure deprecation means to replace with something better but what would that be? I looked on github code in binddynamic.d at line 557 and the package info at the DUB web site and I'm still clueless.Sorry about that. Try updating to bindbc-glfw 1.0.2, should be fixed now. If you see any other deprecation warnings from BindBC bindings you can silence them with `-d` until they're updated.
Mar 08 2023
On Thursday, 9 March 2023 at 06:36:18 UTC, IchorDev wrote:On Thursday, 9 March 2023 at 00:21:02 UTC, WhatMeWorry wrote:No problem :) Thanks![...]Sorry about that. Try updating to bindbc-glfw 1.0.2, should be fixed now. If you see any other deprecation warnings from BindBC bindings you can silence them with `-d` until they're updated.
Mar 09 2023