Re: [PATCH spice 1/2] test: Ignore too new warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> There is an explicit check for the version
> ---
>  server/tests/test-codecs-parsing.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano

> diff --git a/server/tests/test-codecs-parsing.c
> b/server/tests/test-codecs-parsing.c
> index 0e23553b..c1b3276d 100644
> --- a/server/tests/test-codecs-parsing.c
> +++ b/server/tests/test-codecs-parsing.c
> @@ -54,6 +54,7 @@ static void codecs_good(void)
>  
>  /* g_test_expect_message is available since Glib 2.34 */
>  #if GLIB_CHECK_VERSION(2, 34, 0)
> +G_GNUC_BEGIN_IGNORE_DEPRECATIONS
>  static void codecs_bad(void)
>  {
>      guint i;
> @@ -116,6 +117,7 @@ static void codecs_bad(void)
>  
>      spice_server_destroy(server);
>  }
> +G_GNUC_END_IGNORE_DEPRECATIONS
>  #endif
>  
>  int main(int argc, char *argv[])
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]