[Spice-devel] [PATCH 3/4] server: use -std=c99 -D_GNU_POSIX (finds some bugs)

Alon Levy alevy at redhat.com
Mon Mar 14 03:13:31 PDT 2011


On Mon, Mar 14, 2011 at 10:26:38AM +0100, Hans de Goede wrote:
> Hi,
> 
> On 03/09/2011 10:20 PM, Alon Levy wrote:
> >---
> >  server/Makefile.am |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> >diff --git a/server/Makefile.am b/server/Makefile.am
> >index 5a5106e..5e49c66 100644
> >--- a/server/Makefile.am
> >+++ b/server/Makefile.am
> >@@ -19,6 +19,7 @@ INCLUDES = \
> >  	$(WARN_CFLAGS)                          \
> >  	$(VISIBILITY_HIDDEN_CFLAGS)		\
> >  	$(SMARTCARD_CFLAGS)				\
> >+	-std=gnu99 -D_GNU_SOURCE \
> >  	$(NULL)
> >
> 
> -std=gnu99, automatically sets -D_GNU_SOURCE, so with this
> patch the -D_GNU_SOURCE becomes superfluous.

That's strange, I'll check again.

> 
> Regards,
> 
> Hans
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list