Re: [Spice-devel] [protocol 1/3] macros: Improve the SPICE_GNUC_DEPRECATED* macros

2016-09-01 Thread Christophe Fergeau
On Thu, Aug 11, 2016 at 04:30:44PM +0200, Francois Gouget wrote: > If the user specifically requests access to the deprecated APIs by > defining the SPICE_DEPRECATED macro, then turn off the > SPICE_GNUC_DEPRECATED* warnings. Ok, that's one thing > Also automatically use G_GNUC_DEPRECATED if

Re: [Spice-devel] [protocol 1/3] macros: Improve the SPICE_GNUC_DEPRECATED* macros

2016-08-12 Thread Francois Gouget
On Fri, 12 Aug 2016, Frediano Ziglio wrote: > > > > On Fri, 12 Aug 2016, Frediano Ziglio wrote: > > > > > > > > > > If the user specifically requests access to the deprecated APIs by > > > > defining the SPICE_DEPRECATED macro, then turn off the > > > > SPICE_GNUC_DEPRECATED* warnings. > > > >

Re: [Spice-devel] [protocol 1/3] macros: Improve the SPICE_GNUC_DEPRECATED* macros

2016-08-12 Thread Frediano Ziglio
> > On Fri, 12 Aug 2016, Frediano Ziglio wrote: > > > > > > > If the user specifically requests access to the deprecated APIs by > > > defining the SPICE_DEPRECATED macro, then turn off the > > > SPICE_GNUC_DEPRECATED* warnings. > > > Also automatically use G_GNUC_DEPRECATED if available. > > >

Re: [Spice-devel] [protocol 1/3] macros: Improve the SPICE_GNUC_DEPRECATED* macros

2016-08-12 Thread Francois Gouget
On Fri, 12 Aug 2016, Frediano Ziglio wrote: > > > > If the user specifically requests access to the deprecated APIs by > > defining the SPICE_DEPRECATED macro, then turn off the > > SPICE_GNUC_DEPRECATED* warnings. > > Also automatically use G_GNUC_DEPRECATED if available. > > Add

Re: [Spice-devel] [protocol 1/3] macros: Improve the SPICE_GNUC_DEPRECATED* macros

2016-08-12 Thread Frediano Ziglio
> > If the user specifically requests access to the deprecated APIs by > defining the SPICE_DEPRECATED macro, then turn off the > SPICE_GNUC_DEPRECATED* warnings. > Also automatically use G_GNUC_DEPRECATED if available. > Add SPICE_GNUC_DEPRECATED_FOR(). > I'm not really sure it's a good idea