gtkd-developers / GlibD

D bindings for the GLib C Utility Library.
Other
5 stars 3 forks source link

Fails to build with glib >= 2.80 #20

Open jbeich opened 4 months ago

jbeich commented 4 months ago

Regressed by https://github.com/gnome/glib/commit/7cb953dab8d0. From error log:

../_build/generated/gio/Socket.d(1239): Error: function `gio.c.functions.g_socket_receive_bytes_from(GSocket* socket, GSocketAddress** address, ulong size, long timeoutUs, GCancellable* cancellable, GError** err)` is not callable using argument types `(GSocket*, GSocketAddress*, ulong, long, GCancellable*, GError**)`
../_build/generated/gio/Socket.d(1239):        cannot pass argument `address is null ? cast(GSocketAddress*)null : address.getSocketAddressStruct(false)` of type `GSocketAddress*` to parameter `GSocketAddress** address`
MikeWey commented 3 months ago

I looks like this error is no longer present in the release version of glib 2,80 / gobject-introspection 1.80.1