Re: [Spice-devel] [spice-common] log: Define G_LOG_DOMAIN as early as possible

2017-07-07 Thread Christophe Fergeau
On Fri, Jul 07, 2017 at 06:07:33AM -0400, Frediano Ziglio wrote: > > > > > "log: Forbid the usage of obsolete SPICE_LOG_DOMAIN" introduced a small > > regression, if G_LOG_DOMAIN is not set when glib.h is included, the > > header will set it to a default value. Redefining it later in log.c is > >

Re: [Spice-devel] [spice-common] log: Define G_LOG_DOMAIN as early as possible

2017-07-07 Thread Frediano Ziglio
> > "log: Forbid the usage of obsolete SPICE_LOG_DOMAIN" introduced a small > regression, if G_LOG_DOMAIN is not set when glib.h is included, the > header will set it to a default value. Redefining it later in log.c is > going to cause a compile-time warning. > This commit adds the definition to

[Spice-devel] [spice-common] log: Define G_LOG_DOMAIN as early as possible

2017-07-07 Thread Christophe Fergeau
"log: Forbid the usage of obsolete SPICE_LOG_DOMAIN" introduced a small regression, if G_LOG_DOMAIN is not set when glib.h is included, the header will set it to a default value. Redefining it later in log.c is going to cause a compile-time warning. This commit adds the definition to SPICE_COMMON_C