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

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

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

../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@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




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