Re: [Spice-devel] [protocol] macros: Update SPICE_GNUC_DEPRECATED for MSVC

2016-11-09 Thread Christophe Fergeau
On Fri, Oct 28, 2016 at 11:57:33AM +0200, Francois Gouget wrote: > Signed-off-by: Francois Gouget > --- > > This is an alternative take on the previous patch: instead of reusing > the GLib macro it just duplicates its logic. Why alternative? I think I would take both

Re: [Spice-devel] [protocol] macros: Update SPICE_GNUC_DEPRECATED for MSVC

2016-10-28 Thread Francois Gouget
Signed-off-by: Francois Gouget --- This is an alternative take on the previous patch: instead of reusing the GLib macro it just duplicates its logic. GLib approach - Pros: - Automatic support for whichever platforms GLib supports. - Simple. Cons: -