[Spice-devel] [PATCH spice-gtk 24/34] meson: remove some meson-spice-gtk-doc warnings

Christophe Fergeau cfergeau at redhat.com
Mon Jan 7 16:07:10 UTC 2019


Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

On Mon, Jan 07, 2019 at 12:00:53PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> ../src/./spice-audio.h:22:2: warning: #warning "Only <spice-client.h> can be included directly" [-Wcpp]
>  #warning "Only <spice-client.h> can be included directly"
>   ^~~~~~~
> ...
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> ---
>  doc/reference/meson.build | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/doc/reference/meson.build b/doc/reference/meson.build
> index 7cb94f3..a121e66 100644
> --- a/doc/reference/meson.build
> +++ b/doc/reference/meson.build
> @@ -45,6 +45,7 @@ gnome.gtkdoc('spice-gtk',
>               gobject_typesfile : files('spice-gtk.types'),
>               ignore_headers : ignore_headers,
>               include_directories: spice_gtk_include,
> +             c_args : '-DSPICE_COMPILATION',
>               install : true,
>               scan_args : ['--deprecated-guards="SPICE_DISABLE_DEPRECATED"', '--ignore-decorators="G_GNUC_INTERNAL"'],
>               src_dir : join_paths(meson.source_root(), 'src'))
> -- 
> 2.20.1.2.gb21ebb671b
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190107/728ce5cc/attachment.sig>


More information about the Spice-devel mailing list