dub.sdl bindbc-glfw is returning a deprecation warming. So what do I do now?

IchorDev zxinsworld at gmail.com
Thu Mar 9 06:36:18 UTC 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\binddynamic.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.


More information about the Digitalmars-d-learn mailing list