Re: [Spice-devel] [spice-gtk 1/3] build-sys: Disable -Wcast-function-type

2018-05-03 Thread Christophe Fergeau
On Thu, May 03, 2018 at 07:37:44AM -0400, Frediano Ziglio wrote: > > > > With gcc 8.0.1 from Fedora 28, I'm getting warnings related to > > -Wcast-function-type in a few places. Most of these could be solved > > by adding an intermediate wrapper with the right number of args, but the > >

Re: [Spice-devel] [spice-gtk 1/3] build-sys: Disable -Wcast-function-type

2018-05-03 Thread Frediano Ziglio
> > With gcc 8.0.1 from Fedora 28, I'm getting warnings related to > -Wcast-function-type in a few places. Most of these could be solved > by adding an intermediate wrapper with the right number of args, but the > g_source_set_callback() warning cannot be solved this way as the > callback

[Spice-devel] [spice-gtk 1/3] build-sys: Disable -Wcast-function-type

2018-05-03 Thread Christophe Fergeau
With gcc 8.0.1 from Fedora 28, I'm getting warnings related to -Wcast-function-type in a few places. Most of these could be solved by adding an intermediate wrapper with the right number of args, but the g_source_set_callback() warning cannot be solved this way as the callback signature will vary