Mike Frysinger

Results 280 comments of Mike Frysinger

the trouble of course is that `gdImageCreateFromFile` fundamentally requires access to the filename to dynamically select the relevant backend function. a raw `FILE*` pointer won't have that.

let's deprecate it properly

`GD_NOTICE` sounds fine we should also be able to tag the func decl as deprecated. that way anyone compiling against it will get a build-time warning. maybe something like (untested):...

we can prob add an internal define/check for test logic to disable all deprecated warnings

irony is that the buggy code came from PHP i guess the point of the logic is to try and create an identifier that is valid in X BitMap. that...

> If somebody is really using this for including multiple XBMs in some C compilation unit, that won't work. that's already not working: * if people pass `/foo/bar.xbm` and `/foo/foo/bar.xbm`....

@TysonAndre feel like sending a PR for that idea ? :)

we wouldn't really be breaking any API calls that aren't already broken

libgd does not use/link against C++ today. this is an ABI change. we can't deploy it for gd-2.2 which means we should delete the header from the install there. for...