<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_default" style="font-size:large">This patch is outdated by <a href="https://www.redhat.com/archives/libvir-list/2021-January/msg00778.html">https://www.redhat.com/archives/libvir-list/2021-January/msg00778.html</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 18, 2021 at 3:02 PM Nikolay Shirokovskiy <<a href="mailto:nshirokovskiy@virtuozzo.com">nshirokovskiy@virtuozzo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It breaks on using - in VSTORAGE-MOUNT definition with:<br>
<br>
In file included from ../config.h:19:0,<br>
from ../src/util/viraudit.c:22:<br>
./meson-config.h:180:17: error: ISO C99 requires whitespace after the macro name [-Werror]<br>
#define VSTORAGE-MOUNT "/usr/bin/vstorage-mount"<br>
^<br>
./meson-config.h:180:0: error: "VSTORAGE" redefined [-Werror]<br>
#define VSTORAGE-MOUNT "/usr/bin/vstorage-mount"<br>
^<br>
./meson-config.h:178:0: note: this is the location of the previous definition<br>
#define VSTORAGE "/usr/bin/vstorage"<br>
^<br>
#define VSTORAGE-MOUNT "/usr/bin/vstorage-mount"<br>
---<br>
meson.build | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/meson.build b/meson.build<br>
index b5277b4..aff2565 100644<br>
--- a/meson.build<br>
+++ b/meson.build<br>
@@ -1974,7 +1974,7 @@ if conf.has('WITH_LIBVIRTD')<br>
conf.set('WITH_STORAGE_VSTORAGE', 1)<br>
foreach name : ['vstorage', 'vstorage-mount', 'umount']<br>
path = get_variable('@0@_prog'.format(name.underscorify())).path()<br>
- conf.set_quoted(name.to_upper(), path)<br>
+ conf.set_quoted(name.underscorify().to_upper(), path)<br>
endforeach<br>
endif<br>
endif<br>
-- <br>
1.8.3.1<br>
<br>
</blockquote></div>