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

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Mon Jan 7 08:00:53 UTC 2019


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



More information about the Spice-devel mailing list