Re: [Tuxpaint-devel] Doesn't compile on Rocky9
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2023-06-23 06:26:33
|
On Thu, Jun 22, 2023 at 10:48:57PM -0400, Mark Kim wrote: > I'm getting a warning on Ubuntu 20.04.1 LTS about the use of a deprecated > function "rsvg_handle_close". Ubuntu 20.04.1 LTS comes with librsvg > 2.48.9. > The warning occurs several times while compiling tuxpaint.c but here is one > example: > > src/tuxpaint.c:21011:5: warning: ‘rsvg_handle_close’ is deprecated: Use > 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations] > 21011 | rsvg_handle_close(rsvg_handle, &gerr); > | ^~~~~~~~~~~~~~~~~ > In file included from src/tuxpaint.c:516: > /usr/include/librsvg-2.0/librsvg/rsvg.h:192:14: note: declared here > 192 | gboolean rsvg_handle_close (RsvgHandle *handle, GError > **error); > | ^~~~~~~~~~~~~~~~~ > > > librsvg source says > <https://gitlab.gnome.org/GNOME/librsvg/-/blob/main/include/librsvg/rsvg.h#L599> > rsvg_handle_close > was deprecated in librsvg 2.46. Thanks. Yeah, this is a known one. I still need to work to replace it. How's the macOS side of things, warning-wise? Thanks! -bill! |