Error: COMPILER_WARNING: cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Error: COMPILER_WARNING: cc1: error: unrecognized command line option "-Wvector-operation-performance" Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/util/processinfo.c:64:13: warning: expression result unused [-Wunused-value] # CPU_SET_S(i, masklen, mask); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/util/processinfo.c:24: included_from: Included from here. /usr/include/sched.h:87:45: note: instantiated from: ## define CPU_SET_S(cpu, setsize, cpusetp) __CPU_SET_S (cpu, setsize, cpusetp) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/util/processinfo.c:24: included_from: Included from here. /usr/include/sched.h:43: included_from: Included from here. /usr/include/bits/sched.h:148:9: note: instantiated from: # : 0; })) # ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/nodeinfo.c:254:9: warning: expression result unused [-Wunused-value] # CPU_SET(sock, &sock_map); # ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/nodeinfo.c:33: included_from: Included from here. /usr/include/sched.h:80:33: note: instantiated from: ## define CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/nodeinfo.c:33: included_from: Included from here. /usr/include/sched.h:43: included_from: Included from here. /usr/include/bits/sched.h:148:9: note: instantiated from: # : 0; })) # ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:4968:21: warning: Null pointer passed as an argument to a 'nonnull' parameter # if (!(tempuri = virURIParse(dconnuri))) { # ^ ~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14209:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14209:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14243:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14243:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14267:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14267:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14299:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14299:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14339:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14339:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14379:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14379:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14445:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14445:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14493:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14493:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14543:10: warning: Field access results in a dereference of a null pointer (loaded from variable 'dev') # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:33: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:14543:10: note: instantiated from: # if (!VIR_IS_CONNECTED_NODE_DEVICE(dev)) { # ^ /builddir/build/BUILD/libvirt-0.10.2/src/libvirt.c:46: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/datatypes.h:108:55: note: instantiated from: # (VIR_IS_NODE_DEVICE(obj) && VIR_IS_CONNECT((obj)->conn)) # ~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/remote/remote_driver.c:4982:10: warning: Although the value stored to 'eventID' is used in the enclosing expression, the value is never actually read from 'eventID' # if ((eventID = virDomainEventStateEventID(conn, # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/rpc/virnetclient.c:1822:18: warning: Field access results in a dereference of a null pointer (loaded from variable 'client') # if (!client->sock) # ~~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/esx/esx_driver.c:5170:21: warning: Pass-by-value argument in function call is undefined # state = esxVI_VirtualMachinePowerState_ConvertToLibvirt(powerState); # ^ ~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/esx/esx_driver.c:5126:27: warning: The left operand of '==' is a garbage value # powerState == esxVI_VirtualMachinePowerState_PoweredOff))) # ~~~~~~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/esx/esx_driver.c:5124:27: warning: The left operand of '!=' is a garbage value # powerState != esxVI_VirtualMachinePowerState_PoweredOff) || # ~~~~~~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/esx/esx_driver.c:5149:36: warning: Field access results in a dereference of a null pointer (loaded from variable 'autoStartDefaults') # if (autoStartDefaults->enabled == esxVI_Boolean_True) { # ~~~~~~~~~~~~~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/security/security_selinux.c:1996:5: warning: Field access results in a dereference of a null pointer (loaded from variable 'secdef') # VIR_DEBUG("imageLabel=%s opts=%s", secdef->imagelabel, opts); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/security/security_selinux.c:39: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/util/logging.h:59:9: note: instantiated from: # VIR_DEBUG_INT("file." __FILE__, __func__, __LINE__, __VA_ARGS__) # ^ /builddir/build/BUILD/libvirt-0.10.2/src/security/security_selinux.c:1996:5: note: instantiated from: # VIR_DEBUG("imageLabel=%s opts=%s", secdef->imagelabel, opts); # ^ ~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/security/security_selinux.c:1996:48: note: instantiated from: # VIR_DEBUG("imageLabel=%s opts=%s", secdef->imagelabel, opts); # ~~~~~~ ^ Error: COMPILER_WARNING: /tmp/tmpjF4UBX.c:1: warning: return type defaults to 'int' Error: COMPILER_WARNING: /tmp/tmpjF4UBX.c:1: warning: '__dtrace' defined but not used Error: COMPILER_WARNING: /tmp/tmpjF4UBX.c:1:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] #static __dtrace () {} #~~~~~~ ^ Error: COMPILER_WARNING: /tmp/tmpjF4UBX.c:1:21: warning: control reaches end of non-void function [-Wreturn-type] #static __dtrace () {} # ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_capabilities.c:735:14: warning: Although the value stored to 'dom' is used in the enclosing expression, the value is never actually read from 'dom' # if ((dom = virCapabilitiesAddGuestDomain(guest, # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:4476:13: warning: Value stored to 'have_cpu' is never read # have_cpu = true; # ^ ~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7291:22: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->src = values[i]; # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7398:22: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->type = VIR_DOMAIN_DISK_TYPE_FILE; # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7518:14: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # if (def->rerror_policy == def->error_policy) # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7411:22: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->device = VIR_DOMAIN_DISK_DEVICE_CDROM; # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7402:22: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->bus = VIR_DOMAIN_DISK_BUS_IDE; # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7416:18: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->driverName = strdup("qemu"); # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_command.c:7404:22: warning: Field access results in a dereference of a null pointer (loaded from variable 'def') # def->bus = VIR_DOMAIN_DISK_BUS_SCSI; # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_monitor.c:2902:15: warning: Null pointer passed as an argument to a 'nonnull' parameter # ret = qemuMonitorJSONBlockCommit(mon, device, top, base, speed); # ^ ~~~ Error: COMPILER_WARNING: /tmp/tmpObFhPl.c:1: warning: return type defaults to 'int' Error: COMPILER_WARNING: /tmp/tmpObFhPl.c:1: warning: '__dtrace' defined but not used Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:8587:22: warning: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' # if ((rc = qemuSetEmulatorBandwidthLive(vm, group, value_ul, 0))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:8601:22: warning: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' # if ((rc = qemuSetEmulatorBandwidthLive(vm, group, 0, value_l))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:8573:22: warning: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' # if ((rc = qemuSetVcpusBWLive(vm, group, 0, value_l))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:8559:22: warning: Although the value stored to 'rc' is used in the enclosing expression, the value is never actually read from 'rc' # if ((rc = qemuSetVcpusBWLive(vm, group, value_ul, 0))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:9419:19: warning: Field access results in a dereference of a null pointer (loaded from variable 'net') # (net->bandwidth && net->bandwidth->in)) { # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:9441:40: warning: Field access results in a dereference of a null pointer (loaded from variable 'net') # if (virNetDevBandwidthSet(net->ifname, newBandwidth, false) < 0) { # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:9430:19: warning: Field access results in a dereference of a null pointer (loaded from variable 'net') # (net->bandwidth && net->bandwidth->out)) { # ~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:9453:29: warning: Field access results in a dereference of a null pointer (loaded from variable 'persistentNet') # if (!persistentNet->bandwidth) { # ~~~~~~~~~~~~~ ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:12581:11: warning: Although the value stored to 'snap' is used in the enclosing expression, the value is never actually read from 'snap' # if (!(snap = qemuSnapObjFromSnapshot(vm, snapshot))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:12629:11: warning: Although the value stored to 'snap' is used in the enclosing expression, the value is never actually read from 'snap' # if (!(snap = qemuSnapObjFromSnapshot(vm, snapshot))) # ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/qemu/qemu_driver.c:14460:17: warning: Pass-by-value argument in function call is undefined # if (virTypedParameterAssign(param, # ^ Error: COMPILER_WARNING: /tmp/tmpObFhPl.c:1:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] #static __dtrace () {} #~~~~~~ ^ Error: COMPILER_WARNING: /tmp/tmpObFhPl.c:1:21: warning: control reaches end of non-void function [-Wreturn-type] #static __dtrace () {} # ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:900:5: warning: expression result unused [-Wunused-value] # virAtomicIntDecAndTest(&virNWFilterSnoopState.nLeases); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:67: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/util/viratomic.h:201:47: note: instantiated from: # __sync_fetch_and_sub((atomic), 1) == 1; \ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:1182:5: warning: expression result unused [-Wunused-value] # virAtomicIntDecAndTest(job->qCtr); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:67: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/util/viratomic.h:201:47: note: instantiated from: # __sync_fetch_and_sub((atomic), 1) == 1; \ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:1576:5: warning: expression result unused [-Wunused-value] # virAtomicIntDecAndTest(&virNWFilterSnoopState.nThreads); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/src/nwfilter/nwfilter_dhcpsnoop.c:67: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/src/util/viratomic.h:201:47: note: instantiated from: # __sync_fetch_and_sub((atomic), 1) == 1; \ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/tools/virsh-snapshot.c:509: included_from: Included from here. /builddir/build/BUILD/libvirt-0.10.2/tools/virsh-edit.c:118:19: warning: expression result unused [-Wunused-value] # if (!msg && !(EDIT_DEFINE)) { # ^~~~~~~~~~~ /builddir/build/BUILD/libvirt-0.10.2/tools/virsh-snapshot.c:504:60: note: instantiated from: # define_flags |= VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY : 0), \ # ^ Error: COMPILER_WARNING: /builddir/build/BUILD/libvirt-0.10.2/tools/virsh.c:1854:24: warning: Value stored to 'tmpopt' during its initialization is never read # vshCmdOpt *tmpopt = first; # ^ ~~~~~