It's quite new feature which is not supported by older compilers.
So until some better macros are introduced into LVM code - hotfix current
compilation problems and compile this code only for __clang__ defining compilers.
DEBUGLOG("Can't initialise cluster interface\n");
log_error("Can't initialise cluster interface\n");
child_init_signal(DFAIL_CLUSTER_IF);
+#ifdef __clang__
__builtin_unreachable();
+#endif
}
DEBUGLOG("Cluster ready, doing some more initialisation\n");
newfd = malloc(sizeof(struct local_client));
if (!newfd) {
child_init_signal(DFAIL_MALLOC);
+#ifdef __clang__
__builtin_unreachable();
+#endif
}
newfd->fd = local_sock;