[Spice-devel] [PATCH 3/4] server: use -std=c99 -D_GNU_POSIX (finds some bugs)
Hans de Goede
hdegoede at redhat.com
Mon Mar 14 02:26:38 PDT 2011
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.
Regards,
Hans
More information about the Spice-devel
mailing list