Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 831343 Details for
Bug 880973
sys-cluster/drbd-utils-9.19.1 - ./MessageLog.h: error: explicitly defaulted move
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-cluster:drbd-utils-9.19.1:20221111-122652.log
sys-cluster:drbd-utils-9.19.1:20221111-122652.log (text/plain), 220.51 KB, created by
Toralf Förster
on 2022-11-11 12:36:09 UTC
(
hide
)
Description:
sys-cluster:drbd-utils-9.19.1:20221111-122652.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-11 12:36:09 UTC
Size:
220.51 KB
patch
obsolete
> * Package: sys-cluster/drbd-utils-9.19.1:0 > * Repository: gentoo > * Maintainer: cluster@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux udev userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Checking for suitable kernel configuration options... >>>> Unpacking source... >>>> Unpacking drbd-utils-9.19.1.tar.gz to /var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work >>>> Source unpacked in /var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work >>>> Preparing source in /var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1 ... > * Applying drbd-utils-9.15.1-run-lock.patch ... > [ ok ] > * Applying drbd-utils-9.15.1-sysmacros.patch ... > [ ok ] > * Applying drbd-utils-9.19.1-configure-posix.diff ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running elibtoolize in: drbd-utils-9.19.1/ >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1 ... > * econf: updating drbd-utils-9.19.1/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating drbd-utils-9.19.1/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/drbd-utils-9.19.1 --htmldir=/usr/share/doc/drbd-utils-9.19.1/html --libdir=/usr/lib64 --localstatedir=/var --with-bashcompletion --with-distro=gentoo --with-prebuiltman --without-rgmanager --without-pacemaker --with-udev --without-xen >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking for getentropy... yes >checking for gethostbyname_r... yes >checking for __free_fn_t... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >configure: Could not detect systemd unit directory >Using systemd unit directory: >Using udev rules directory: /lib/udev >checking for x86_64-pc-linux-gnu-gcc... (cached) clang >checking whether the compiler supports GNU C... (cached) yes >checking whether clang accepts -g... (cached) yes >checking for clang option to enable C11 features... (cached) none needed >checking whether ln -s works... yes >checking for sed... /bin/sed >checking for grep... /bin/grep >checking for flex... /usr/bin/flex >checking for rpmbuild... no >checking for xsltproc... /usr/bin/xsltproc >checking for clitest... no >checking for tar... /bin/tar >checking for git... /usr/bin/git >checking for po4a-translate... /usr/bin/po4a-translate >checking for po4a-gettextize... /usr/bin/po4a-gettextize >checking for dpkg-buildpackage... /usr/bin/dpkg-buildpackage >checking for udevadm... /bin/udevadm >checking for udevinfo... false >checking whether the compiler supports GNU C++... yes >checking whether clang++ accepts -g... yes >checking for clang++ option to enable C++11 features... none needed >checking whether clang++ supports C++11 features by default... yes >checking for clock_gettime, timer_create, timer_settime, timer_delete in -lrt... yes >configure: WARNING: No rpmbuild found, building RPM packages is disabled. >configure: WARNING: Cannot run tests without clitest, disabling test target. >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for linux/genetlink.h... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating user/shared/Makefile >config.status: creating user/v9/Makefile >config.status: creating user/v83/Makefile >config.status: creating user/v84/Makefile >config.status: creating scripts/Makefile >config.status: creating documentation/v83/Makefile >config.status: creating scripts/drbd.rules >config.status: creating user/windrbd/Makefile >config.status: creating user/drbdmon/Makefile >config.status: creating documentation/common/Makefile_v84_com >config.status: creating documentation/common/Makefile_v9_com >config.status: creating user/shared/config.h >>>> Source configured. >'/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/temp/clang16-errors.log' -> '/var/tmp/clang/sys-cluster/drbd-utils-9.19.1/clang16-errors.log' >'/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/temp/clang16-safe.log' -> '/var/tmp/clang/sys-cluster/drbd-utils-9.19.1/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1 ... >make -j4 'OPTFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int' tools doc >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/shared' >flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl >./drbd_buildtag.sh drbd_buildtag.h >./drbd_buildtag.sh drbd_buildtag.c >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/shared' >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v9' >flex -s -odrbdadm_scanner.c drbdadm_scanner.fl >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_postparse.o drbdadm_postparse.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c >drbdadm_parser.c:1246:24: warning: cast to smaller integer type 'enum pr_flags' > from 'void *' [-Wvoid-pointer-to-enum-cast] > enum pr_flags flags = (enum pr_flags)ctx; > ^~~~~~~~~~~~~~~~~~ >drbdadm_main.c:360:100: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...= {"dstate", adm_setup_and_meta, ACF1_MINOR_ONLY .disk_required = 0 }; > ^ >drbdadm_main.c:360:67: note: previous initialization is here > ...adm_cmd dstate_cmd = {"dstate", adm_setup_and_meta, ACF1_MINOR_ONLY .dis... > ^~~~~~~~~~~~~~~ >drbdadm_main.c:207:19: note: expanded from macro 'ACF1_MINOR_ONLY' > .disk_required = 1, \ > ^ >drbdadm_main.c:395:101: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...= {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk... > ^ >drbdadm_main.c:395:68: note: previous initialization is here > ...adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .sh... > ^~~~~~~~~~~~~~~ >drbdadm_main.c:201:19: note: expanded from macro 'ACF1_MINOR_ONLY' > .show_in_usage = 1, \ > ^ >drbdadm_main.c:395:121: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, }; > ^ >drbdadm_main.c:395:68: note: previous initialization is here > ...adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .sh... > ^~~~~~~~~~~~~~~ >drbdadm_main.c:207:19: note: expanded from macro 'ACF1_MINOR_ONLY' > .disk_required = 1, \ > ^ >drbdadm_main.c:413:105: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...= {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; > ^ >drbdadm_main.c:413:70: note: previous initialization is here > ...suspend_io_cmd = {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_r... > ^~~~~~~~~~~~~ >drbdadm_main.c:275:22: note: expanded from macro 'ACF4_ADVANCED' > .backend_res_name = 1, \ > ^ >drbdadm_main.c:414:103: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...= {"resume-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 }; > ^ >drbdadm_main.c:414:68: note: previous initialization is here > ...adm_cmd resume_io_cmd = {"resume-io", adm_drbdsetup, ACF4_ADVANCED .bac... > ^~~~~~~~~~~~~ >drbdadm_main.c:275:22: note: expanded from macro 'ACF4_ADVANCED' > .backend_res_name = 1, \ > ^ >drbdadm_main.c:416:152: warning: initializer overrides prior initialization of > this subobject [-Winitializer-overrides] > ...ACF4_ADVANCED_NEED_VOL .backend_res_name = 0}; > ^ >drbdadm_main.c:416:109: note: previous initialization is here > ...adm_drbdsetup, &new_current_uuid_cmd_ctx, ACF4_ADVANCED_NEED_VOL .backen... > ^~~~~~~~~~~~~~~~~~~~~~ >drbdadm_main.c:283:22: note: expanded from macro 'ACF4_ADVANCED_NEED_VOL' > .backend_res_name = 1, \ > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c >drbdadm_adjust.c:408:15: warning: taking the absolute value of unsigned type > 'unsigned long long' has no effect [-Wabsolute-value] > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^ >drbdadm_adjust.c:408:15: note: remove the call to 'abs' since unsigned values > cannot be negative > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^~~ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_dump.o drbdadm_dump.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o registry.o registry.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o config_flags.o config_flags.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libnla.o ../shared/libnla.c >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:12: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_nla.o drbd_nla.c >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >34 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_main.o ../shared/shared_main.c >6 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c >../shared/shared_main.c:66:24: warning: initializer overrides prior > initialization of this subobject [-Winitializer-overrides] > .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, > ^~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:32:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' >#define CMD_TIMEOUT_LONG_DEF 600 > ^~~ >../shared/shared_main.c:65:24: note: previous initialization is here > .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, > ^~~~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:31:32: note: expanded from macro > 'CMD_TIMEOUT_MEDIUM_DEF' >#define CMD_TIMEOUT_MEDIUM_DEF 121 > ^~~ >34 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libgenl.o ../shared/libgenl.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_linux.o drbdadm_linux.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common_linux.o drbdtool_common_linux.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o path_linux.o ../shared/path_linux.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta.o ../shared/drbdmeta.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_scanner.o ../shared/drbdmeta_scanner.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_strings.o ../../drbd-headers/drbd_strings.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_linux.o ../shared/drbdmeta_linux.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup.o drbdsetup.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:57: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c >drbdsetup.c:2469:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",user" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2469:26: note: use array indexing to silence this warning > strcat(buffer, ",user" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2471:29: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",no-data" + (*buffer == 0)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2471:29: note: use array indexing to silence this warning > strcat(buffer, ",no-data" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2473:29: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",fencing" + (*buffer == 0)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2473:29: note: use array indexing to silence this warning > strcat(buffer, ",fencing" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2475:28: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",quorum" + (*buffer == 0)); > ~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2475:28: note: use array indexing to silence this warning > strcat(buffer, ",quorum" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2556:18: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > x1 = ",upper" + first; > ~~~~~~~~~^~~~~~~ >drbdsetup.c:2556:18: note: use array indexing to silence this warning > x1 = ",upper" + first; > ^ > & [ ] >drbdsetup.c:2560:18: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > x2 = ",lower" + first; > ~~~~~~~~~^~~~~~~ >drbdsetup.c:2560:18: note: use array indexing to silence this warning > x2 = ",lower" + first; > ^ > & [ ] >drbdsetup.c:2996:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",user" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2996:26: note: use array indexing to silence this warning > strcat(buffer, ",user" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2998:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",peer" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2998:26: note: use array indexing to silence this warning > strcat(buffer, ",peer" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:3000:32: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",dependency" + (*buffer == 0)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:3000:32: note: use array indexing to silence this warning > strcat(buffer, ",dependency" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:3393:11: warning: address of array 'cfg.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (!cfg.ctx_resource_name) > ~~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:3593:11: warning: address of array 'ctx.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (!ctx.ctx_resource_name) > ~~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:3716:11: warning: address of array 'ctx.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (!ctx.ctx_resource_name) > ~~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:3801:11: warning: address of array 'ctx.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (!ctx.ctx_resource_name) > ~~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:3839:26: warning: address of array 'device->disk_conf.backing_dev' > will always evaluate to 'true' [-Wpointer-bool-conversion] > if (!device->disk_conf.backing_dev) { > ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ >drbdsetup.c:4125:32: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > const char *indent = "\t\t" + !more_than_one_choice; > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >drbdsetup.c:4125:32: note: use array indexing to silence this warning > const char *indent = "\t\t" + !more_than_one_choice; > ^ > & [ ] >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_events2.o drbdsetup_events2.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_linux.o drbdsetup_linux.c >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_events2.c:33: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >drbdsetup_events2.c:528:6: warning: variable 'device_count' set but not used > [-Wunused-but-set-variable] > int device_count = 0; > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >drbdsetup_events2.c:989:11: warning: absolute value function 'abs' given an > argument of type 'long' but has parameter of type 'int' which may cause > truncation of value [-Wabsolute-value] > (int)((abs(tm->tm_gmtoff) / 60) % 60)); > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch drbdsetup_events2.c:989:11: note: use function condition '0''labs' instead > > (int)((abs(tm->tm_gmtoff) / 60) % 60)); > ^~~ > labs >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >drbdsetup_events2.c:1010:11: warning: address of array 'ctx->ctx_resource_name' > will always evaluate to 'true' [-Wpointer-bool-conversion] >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if (ctx->ctx_resource_name) > ~~ ~~~~~^~~~~~~~~~~~~~~~~ > >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_linux.c:1: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >34 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_main.o drbdsetup_main.c >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >../../drbd-headers/linux/genl_magic_struct.h:210:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >../../drbd-headers/linux/genl_magic_struct.h:228:10: warning: no case matching > constant switch condition '0' > switch (0) { > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:87:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:97:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:106:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:134:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:150:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:187:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:191:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:199:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:204:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:213:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:217:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:222:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:235:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:242:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:256:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:260:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:277:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:283:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:315:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:319:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:324:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:329:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:333:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:343:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:348:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:353:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:357:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:361:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup_main.c:29: >In file included from ./drbdsetup.h:8: >In file included from ../../drbd-headers/linux/drbd_genl_api.h:39: >In file included from ../../drbd-headers/linux/genl_magic_struct.h:254: >../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant > switch condition '0' >GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >../../drbd-headers/linux/genl_magic_struct.h:238:10: note: expanded from macro > 'GENL_struct' > switch (0) { \ > ^ >34 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libnla.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libgenl.o drbdadm_linux.o drbdtool_common_linux.o path_linux.o >37 warnings generated. >49 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdsetup libnla.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o drbdsetup_events2.o libgenl.o drbdtool_common_linux.o drbdsetup_linux.o path_linux.o drbdsetup_main.o >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o drbdmeta_linux.o drbdtool_common_linux.o path_linux.o >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v9' >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/scripts' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/scripts' >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v83' >flex -s -odrbdadm_scanner.c drbdadm_scanner.fl >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c >drbdadm_adjust.c:287:15: warning: taking the absolute value of unsigned type > 'unsigned long long' has no effect [-Wabsolute-value] > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^ >drbdadm_adjust.c:287:15: note: remove the call to 'abs' since unsigned values > cannot be negative > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^~~ >drbdadm_parser.c:1140:24: warning: cast to smaller integer type 'enum pr_flags' > from 'void *' [-Wvoid-pointer-to-enum-cast] > enum pr_flags flags = (enum pr_flags)ctx; > ^~~~~~~~~~~~~~~~~~ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_minor_table.o drbdadm_minor_table.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c >../shared/shared_main.c:66:24: warning: initializer overrides prior > initialization of this subobject [-Winitializer-overrides] > .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, > ^~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:32:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' >#define CMD_TIMEOUT_LONG_DEF 600 > ^~~ >../shared/shared_main.c:65:24: note: previous initialization is here > .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, > ^~~~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:31:32: note: expanded from macro > 'CMD_TIMEOUT_MEDIUM_DEF' >#define CMD_TIMEOUT_MEDIUM_DEF 121 > ^~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o path_linux.o ../shared/path_linux.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdsetup.o drbdsetup.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c >1 warning generated. >drbdsetup.c:784:14: warning: implicit conversion from 'int' to 'short' changes > value from 41020 to -24516 [-Wconstant-conversion] > add_tag(tl,T_mind_af,&bit,sizeof(bit)); > ~~~~~~~ ^~~~~~~~~ >drbdsetup.c:891:14: warning: implicit conversion from 'int' to 'short' changes > value from 41022 to -24514 [-Wconstant-conversion] > add_tag(tl, T_auto_sndbuf_size, &bit, sizeof(bit)); > ~~~~~~~ ^~~~~~~~~~~~~~~~~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o shared_tool.o shared_main.o shared_parser.o path_linux.o >2 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o path_linux.o >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v83' >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v84' >flex -s -odrbdadm_scanner.c drbdadm_scanner.fl >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c >drbdadm_adjust.c:329:15: warning: taking the absolute value of unsigned type > 'unsigned long long' has no effect [-Wabsolute-value] > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^ >drbdadm_adjust.c:329:15: note: remove the call to 'abs' since unsigned values > cannot be negative > (!run_o || abs(v1-v2)/(float)minimum > 0.02)) > ^~~ >drbdadm_parser.c:1495:24: warning: cast to smaller integer type 'enum pr_flags' > from 'void *' [-Wvoid-pointer-to-enum-cast] > enum pr_flags flags = (enum pr_flags)ctx; > ^~~~~~~~~~~~~~~~~~ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o registry.o registry.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o config_flags.o config_flags.c >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition > clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o libgenl.o ../shared/libgenl.c >'0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:184:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:303:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:307:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:318:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from config_flags.c:19: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:322:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbd_nla.o drbd_nla.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:184:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:303:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:307:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:318:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbd_nla.c:3: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:322:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >25 warnings generated. >25 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c >../shared/shared_main.c:66:24: warning: initializer overrides prior > initialization of this subobject [-Winitializer-overrides] > .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF, > ^~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:32:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF' >#define CMD_TIMEOUT_LONG_DEF 600 > ^~~ >../shared/shared_main.c:65:24: note: previous initialization is here > .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF, > ^~~~~~~~~~~~~~~~~~~~~~ >../shared/shared_main.h:31:32: note: expanded from macro > 'CMD_TIMEOUT_MEDIUM_DEF' >#define CMD_TIMEOUT_MEDIUM_DEF 121 > ^~~ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o libnla.o ../shared/libnla.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o path_linux.o ../shared/path_linux.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdsetup.o drbdsetup.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch > condition '0' > switch (0) { > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:184:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:303:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:307:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:318:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >In file included from drbdsetup.c:73: >In file included from ./linux/drbd_genl_api.h:53: >In file included from ./linux/genl_magic_struct.h:231: >./linux/drbd_genl.h:322:1: warning: no case matching constant switch condition > '0' >GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info, >^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct' > switch (0) { \ > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c >drbdsetup.c:1629:10: warning: address of array 'cfg.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (cfg.ctx_resource_name) { > ~~ ~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:1788:10: warning: address of array 'ctx.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (ctx.ctx_resource_name) { > ~~ ~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:1888:10: warning: address of array 'ctx.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (ctx.ctx_resource_name) { > ~~ ~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:2049:10: warning: address of array 'dc.backing_dev' will always > evaluate to 'true' [-Wpointer-bool-conversion] > if (!dc.backing_dev) { > ~~~~^~~~~~~~~~~ >drbdsetup.c:2098:10: warning: address of array 'cfg.ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (cfg.ctx_resource_name) > ~~ ~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:2329:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",user" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2329:26: note: use array indexing to silence this warning > strcat(buffer, ",user" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2331:29: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",no-data" + (*buffer == 0)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2331:29: note: use array indexing to silence this warning > strcat(buffer, ",no-data" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2333:29: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",fencing" + (*buffer == 0)); > ~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2333:29: note: use array indexing to silence this warning > strcat(buffer, ",fencing" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2412:18: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > x1 = ",upper" + first; > ~~~~~~~~~^~~~~~~ >drbdsetup.c:2412:18: note: use array indexing to silence this warning > x1 = ",upper" + first; > ^ > & [ ] >drbdsetup.c:2416:18: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > x2 = ",lower" + first; > ~~~~~~~~~^~~~~~~ >drbdsetup.c:2416:18: note: use array indexing to silence this warning > x2 = ",lower" + first; > ^ > & [ ] >drbdsetup.c:2521:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",user" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2521:26: note: use array indexing to silence this warning > strcat(buffer, ",user" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2523:26: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",peer" + (*buffer == 0)); > ~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2523:26: note: use array indexing to silence this warning > strcat(buffer, ",peer" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2525:32: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > strcat(buffer, ",dependency" + (*buffer == 0)); > ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >drbdsetup.c:2525:32: note: use array indexing to silence this warning > strcat(buffer, ",dependency" + (*buffer == 0)); > ^ > & [ ] >drbdsetup.c:2763:11: warning: address of array 'ctx->ctx_resource_name' will > always evaluate to 'true' [-Wpointer-bool-conversion] > if (ctx->ctx_resource_name) { > ~~ ~~~~~^~~~~~~~~~~~~~~~~ >drbdsetup.c:2948:17: warning: absolute value function 'abs' given an argument of > type 'long' but has parameter of type 'int' which may cause truncation of > value [-Wabsolute-value] > (int)((abs(tm->tm_gmtoff) / 60) % 60)); > ^ >drbdsetup.c:2948:17: note: use function 'labs' instead > (int)((abs(tm->tm_gmtoff) / 60) % 60)); > ^~~ > labs >drbdsetup.c:3349:32: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > const char *indent = "\t\t" + !more_than_one_choice; > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >drbdsetup.c:3349:32: note: use array indexing to silence this warning > const char *indent = "\t\t" + !more_than_one_choice; > ^ > & [ ] >drbdsetup.c:3420:39: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > ...wrap_printf(4, "%s", "|resource" + first); > ~~~~~~~~~~~~^~~~~~~ >drbdsetup.c:3420:39: note: use array indexing to silence this warning > ...wrap_printf(4, "%s", "|resource" + first); > ^ > & [ ] >drbdsetup.c:3424:36: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > wrap_printf(4, "%s", "|minor" + first); > ~~~~~~~~~^~~~~~~ >drbdsetup.c:3424:36: note: use array indexing to silence this warning > wrap_printf(4, "%s", "|minor" + first); > ^ > & [ ] >drbdsetup.c:3428:34: warning: adding 'bool' to a string does not append to the > string [-Wstring-plus-int] > wrap_printf(4, "%s", "|all" + first); > ~~~~~~~^~~~~~~ >drbdsetup.c:3428:34: note: use array indexing to silence this warning > wrap_printf(4, "%s", "|all" + first); > ^ > & [ ] >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libnla.o path_linux.o >44 warnings generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wall -I. -I../shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o drbdsetup-84 libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o libnla.o path_linux.o >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/v84' >make[1]: Entering directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/drbdmon' >clang++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o drbdmon_main.o drbdmon_main.cpp >clang++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o DrbdMon.o DrbdMon.cpp >clang++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o MessageLog.o MessageLog.cpp >clang++ -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -c -o CompactDisplay.o CompactDisplay.cpp >In file included from MessageLog.cpp:1: >./MessageLog.h:58:26: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EntriesIterator& operator=(EntriesIterator&& orig) = default; > ^ >./MessageLog.h:66:27: note: move assignment operator of > 'EntriesIterator' is implicitly deleted because field 'log_obj' is of > reference type 'const MessageLog &' > const MessageLog& log_obj; > ^ >In file included from CompactDisplay.cpp:1: >In file included from ./CompactDisplay.h:18: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:23:5: error: explicitly defaulted copy > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventException(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy constructor of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy constructor > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from CompactDisplay.cpp:1: >In file included from ./CompactDisplay.h:18: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:24:21: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventException& operator=(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy assignment operator of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy assignment operator > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:515:19: note: > 'operator=' has been explicitly marked deleted here > unique_ptr& operator=(const unique_ptr&) = delete; > ^ >1 error generated. >make[1]: *** [<builtin>: MessageLog.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >In file included from CompactDisplay.cpp:1: >In file included from ./CompactDisplay.h:22: >./MessageLog.h:58:26: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EntriesIterator& operator=(EntriesIterator&& orig) = default; > ^ >./MessageLog.h:66:27: note: move assignment operator of > 'EntriesIterator' is implicitly deleted because field 'log_obj' is of > reference type 'const MessageLog &' > const MessageLog& log_obj; > ^ >In file included from CompactDisplay.cpp:1: >In file included from ./CompactDisplay.h:24: >./ConfigOption.h:17:19: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > ConfigOption& operator=(ConfigOption&& orig) = default; > ^ >./ConfigOption.h:21:16: note: move assignment operator of > 'ConfigOption' is implicitly deleted because field 'is_flag' is of > const-qualified type 'const bool' > const bool is_flag; > ^ >In file included from CompactDisplay.cpp:2: >In file included from ./DrbdMon.h:15: >./StringTokenizer.h:12:22: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(const StringTokenizer& orig) = default; > ^ >./StringTokenizer.h:24:24: note: copy assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >./StringTokenizer.h:14:22: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(StringTokenizer&& orig) = default; > ^ >./StringTokenizer.h:24:24: note: move assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >In file included from CompactDisplay.cpp:2: >In file included from ./DrbdMon.h:17: >./EventsSourceSpawner.h:27:26: error: explicitly defaulted > move assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventsSourceSpawner& operator=(EventsSourceSpawner&& orig) = default; > ^ >./EventsSourceSpawner.h:39:17: note: move assignment > operator of 'EventsSourceSpawner' is implicitly deleted because field > 'log' is of reference type 'MessageLog &' > MessageLog& log; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:11: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:23:5: error: explicitly defaulted copy > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventException(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy constructor of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy constructor > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:11: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:24:21: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventException& operator=(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy assignment operator of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy assignment operator > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:515:19: note: > 'operator=' has been explicitly marked deleted here > unique_ptr& operator=(const unique_ptr&) = delete; > ^ >In file included from CompactDisplay.cpp:2: >In file included from ./DrbdMon.h:18: >./EventsIo.h:40:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventsIo(EventsIo&& orig) = default; > ^ >./EventsIo.h:88:49: note: move constructor of 'EventsIo' is > implicitly deleted because field 'ctl_events' has a deleted move > constructor > const std::unique_ptr<struct epoll_event[]> ctl_events; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:791:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:11: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:23:5: error: explicitly defaulted copy > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventException(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy constructor of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy constructor > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:11: >In file included from ./DrbdResource.h:8: >In file included from ./VolumesContainer.h:12: >In file included from ./DrbdVolume.h:13: >In file included from ./utils.h:8: >./exceptions.h:24:21: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventException& operator=(const EventException& orig) = default; > ^ >./exceptions.h:11:34: note: copy assignment operator of > 'EventException' is implicitly deleted because field 'error_msg' has a > deleted copy assignment operator > std::unique_ptr<std::string> error_msg; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:515:19: note: > 'operator=' has been explicitly marked deleted here > unique_ptr& operator=(const unique_ptr&) = delete; > ^ >In file included from CompactDisplay.cpp:2: >./DrbdMon.h:122:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > DrbdMon(DrbdMon&& orig) = default; > ^ >./DrbdMon.h:172:41: note: move constructor of 'DrbdMon' is > implicitly deleted because field 'resources_map' has a deleted move > constructor > const std::unique_ptr<ResourcesMap> resources_map; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:15: >./StringTokenizer.h:12:22: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(const StringTokenizer& orig) = default; > ^ >./StringTokenizer.h:24:24: note: copy assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >./StringTokenizer.h:14:22: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(StringTokenizer&& orig) = default; > ^ >./StringTokenizer.h:24:24: note: move assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:17: >In file included from ./EventsSourceSpawner.h:7: >./MessageLog.h:58:26: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EntriesIterator& operator=(EntriesIterator&& orig) = default; > ^ >./MessageLog.h:66:27: note: move assignment operator of > 'EntriesIterator' is implicitly deleted because field 'log_obj' is of > reference type 'const MessageLog &' > const MessageLog& log_obj; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:15: >./StringTokenizer.h:12:22: error: explicitly defaulted copy > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(const StringTokenizer& orig) = default; > ^ >./StringTokenizer.h:24:24: note: copy assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >./StringTokenizer.h:14:22: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > StringTokenizer& operator=(StringTokenizer&& orig) = default; > ^ >./StringTokenizer.h:24:24: note: move assignment operator > of 'StringTokenizer' is implicitly deleted because field 'line' is of > reference type 'const std::string &' (aka 'const basic_string<char> &') > const std::string& line; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:17: >In file included from ./EventsSourceSpawner.h:7: >./MessageLog.h:58:26: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EntriesIterator& operator=(EntriesIterator&& orig) = default; > ^ >./MessageLog.h:66:27: note: move assignment operator of > 'EntriesIterator' is implicitly deleted because field 'log_obj' is of > reference type 'const MessageLog &' > const MessageLog& log_obj; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:17: >./EventsSourceSpawner.h:27:26: error: explicitly defaulted > move assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventsSourceSpawner& operator=(EventsSourceSpawner&& orig) = default; > ^ >./EventsSourceSpawner.h:39:17: note: move assignment > operator of 'EventsSourceSpawner' is implicitly deleted because field > 'log' is of reference type 'MessageLog &' > MessageLog& log; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:17: >./EventsSourceSpawner.h:27:26: error: explicitly defaulted > move assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > EventsSourceSpawner& operator=(EventsSourceSpawner&& orig) = default; > ^ >./EventsSourceSpawner.h:39:17: note: move assignment > operator of 'EventsSourceSpawner' is implicitly deleted because field > 'log' is of reference type 'MessageLog &' > MessageLog& log; > ^ >In file included from DrbdMon.cpp:21: >In file included from ./DrbdMon.h:18: >./EventsIo.h:40:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventsIo(EventsIo&& orig) = default; > ^ >./EventsIo.h:88:49: note: move constructor of 'EventsIo' is > implicitly deleted because field 'ctl_events' has a deleted move > constructor > const std::unique_ptr<struct epoll_event[]> ctl_events; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:791:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from drbdmon_main.cpp:21: >In file included from ./DrbdMon.h:18: >./EventsIo.h:40:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > EventsIo(EventsIo&& orig) = default; > ^ >./EventsIo.h:88:49: note: move constructor of 'EventsIo' is > implicitly deleted because field 'ctl_events' has a deleted move > constructor > const std::unique_ptr<struct epoll_event[]> ctl_events; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:791:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from DrbdMon.cpp:21: >./DrbdMon.h:122:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > DrbdMon(DrbdMon&& orig) = default; > ^ >./DrbdMon.h:172:41: note: move constructor of 'DrbdMon' is > implicitly deleted because field 'resources_map' has a deleted move > constructor > const std::unique_ptr<ResourcesMap> resources_map; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from DrbdMon.cpp:23: >In file included from ./CompactDisplay.h:24: >./ConfigOption.h:17:19: error: explicitly defaulted move > assignment operator is implicitly deleted > [-Werror,-Wdefaulted-function-deleted] > ConfigOption& operator=(ConfigOption&& orig) = default; > ^ >./ConfigOption.h:21:16: note: move assignment operator of > 'ConfigOption' is implicitly deleted because field 'is_flag' is of > const-qualified type 'const bool' > const bool is_flag; > ^ >In file included from DrbdMon.cpp:25: >./Args.h:12:11: error: explicitly defaulted move assignment > operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > Args& operator=(Args&& orig) = default; > ^ >./Args.h:20:18: note: move assignment operator of 'Args' is > implicitly deleted because field 'arg_count' is of const-qualified type > 'const int' > const int arg_count; > ^ >In file included from drbdmon_main.cpp:21: >./DrbdMon.h:122:5: error: explicitly defaulted move > constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] > DrbdMon(DrbdMon&& orig) = default; > ^ >./DrbdMon.h:172:41: note: move constructor of 'DrbdMon' is > implicitly deleted because field 'resources_map' has a deleted move > constructor > const std::unique_ptr<ResourcesMap> resources_map; > ^ >/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:514:7: note: > 'unique_ptr' has been explicitly marked deleted here > unique_ptr(const unique_ptr&) = delete; > ^ >In file included from CompactDisplay.cpp:1: >./CompactDisplay.h:300:14: error: private field > 'node_dsp_length' is not used [-Werror,-Wunused-private-field] > uint16_t node_dsp_length {0}; > ^ >10 errors generated. >make[1]: *** [<builtin>: CompactDisplay.o] Error 1 >8 errors generated. >make[1]: *** [<builtin>: drbdmon_main.o] Error 1 >10 errors generated. >make[1]: *** [<builtin>: DrbdMon.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1/user/drbdmon' >make: *** [Makefile:90: tools] Error 2 > * ERROR: sys-cluster/drbd-utils-9.19.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-cluster/drbd-utils-9.19.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-cluster/drbd-utils-9.19.1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-cluster:drbd-utils-9.19.1:20221111-122652.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1' > * S: '/var/tmp/portage/sys-cluster/drbd-utils-9.19.1/work/drbd-utils-9.19.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 880973
:
831331
|
831333
|
831335
|
831337
|
831339
|
831341
| 831343 |
831345
|
831347