libvirt/src/util
Martin Kletzander 65491a2dfe Do not disable incompatible-pointer-types-discards-qualifiers
This reverts commit b3710e9a2a.

That check is very valuable for our code, but it causes issue with glib >=
2.67.0 when building with clang.

The reason is a combination of two commits in glib, firstly fdda405b6b1b which
adds a g_atomic_pointer_{set,get} variants that enforce stricter type
checking (by removing an extra cast) for compilers that support __typeof__, and
commit dce24dc4492d which effectively enabled the new variant of glib's atomic
code for clang.  This will not be necessary when glib's issue #600 [0] (8 years
old) is fixed.  Thankfully, MR #1719 [1], which is supposed to deal with this
issue was opened 3 weeks ago, so there is a slight sliver of hope.

[0] https://gitlab.gnome.org/GNOME/glib/-/issues/600
[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2020-11-18 11:01:50 +01:00
..
glibcompat.c
glibcompat.h Do not disable incompatible-pointer-types-discards-qualifiers 2020-11-18 11:01:50 +01:00
iohelper.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
meson.build meson: drop use of .path() for python args 2020-11-09 16:32:55 +00:00
viralloc.c util: delete VIR_ALLOC and VIR_ALLOC_N 2020-10-08 19:19:22 +02:00
viralloc.h util: delete VIR_ALLOC and VIR_ALLOC_N 2020-10-08 19:19:22 +02:00
virarch.c
virarch.h Prefer https: for Wikipedia links 2020-09-01 21:58:45 +02:00
virarptable.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virarptable.h
viraudit.c Use g_strerror instead of virStrerror 2020-03-13 17:26:55 +01:00
viraudit.h
virauth.c util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virauth.h
virauthconfig.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virauthconfig.h util: Fix memory leak in virAuthGetCredential 2020-06-16 15:01:05 +02:00
virbitmap.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virbitmap.h util: virbitmap: Remove virBitmapCopy 2020-10-05 15:50:45 +02:00
virbpf.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virbpf.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virbuffer.c src: fix misc spelling errors reported by codespell 2020-10-05 10:28:41 +01:00
virbuffer.h src: fix word spell typos 2020-07-09 10:01:41 +02:00
vircgroup.c vircgroup: refactor virCgroupNewPartition 2020-11-03 21:26:32 +01:00
vircgroup.h util: vircgroup: introduce g_autoptr() for virCgroup 2020-10-09 16:24:38 +02:00
vircgroupbackend.c
vircgroupbackend.h vircgroup: introduce virCgroupSetPlacement 2020-11-03 21:26:32 +01:00
vircgrouppriv.h vircgrouppriv: fix ATTRIBUTE_NONNULL for virCgroupNewDomainPartition 2020-11-05 23:15:16 +01:00
vircgroupv1.c vircgroup: drop condition for absolute path from copyPlacement callbacks 2020-11-03 21:26:32 +01:00
vircgroupv1.h
vircgroupv2.c vircgroup: drop condition for absolute path from copyPlacement callbacks 2020-11-03 21:26:32 +01:00
vircgroupv2.h
vircgroupv2devices.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
vircgroupv2devices.h
vircommand.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
vircommand.h Fix some wrong usage of ATTRIBUTE_NONNULL() 2020-06-09 11:39:07 +02:00
vircommandpriv.h
virconf.c util: conf: use g_new0 2020-10-06 12:31:34 +02:00
virconf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
vircrypto.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
vircrypto.h
virdaemon.c Split declarations from initializations 2020-08-25 19:03:11 +02:00
virdaemon.h util: introduce shared daemon startup code 2020-03-27 16:22:49 +01:00
virdevmapper.c virdevmapper: fix stat comparison in virDMSanitizepath 2020-11-16 17:25:41 +01:00
virdevmapper.h util: Move virIsDevMapperDevice() to virdevmapper.c 2020-06-15 14:50:46 +02:00
virdnsmasq.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virdnsmasq.h util: define g_autoptr cleanups for a couple dnsmasq objects 2020-07-20 19:08:07 -04:00
virebtables.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virebtables.h
virendian.h
virenum.c
virenum.h
virerror.c error: Introduce VIR_ERR_CHECKPOINT_INCONSISTENT error code 2020-11-09 12:25:49 +01:00
virerror.h util: remove virStrerror 2020-03-13 17:26:55 +01:00
virerrorpriv.h
virevent.c util: event: check return value of virInitialize 2020-09-23 13:26:34 +02:00
virevent.h
vireventglib.c src: fix misc spelling errors reported by codespell 2020-10-05 10:28:41 +01:00
vireventglib.h
vireventglibwatch.c util: keep track of full GSource object not source ID number 2020-08-07 12:43:56 +01:00
vireventglibwatch.h util: keep track of full GSource object not source ID number 2020-08-07 12:43:56 +01:00
vireventthread.c util: do not unref event thread after joining it 2020-09-23 17:06:36 +02:00
vireventthread.h src: introduce an abstraction for running event loops 2020-03-11 14:44:04 +00:00
virfcp.c
virfcp.h
virfdstream.c virfdstream: Emulate skip for block devices 2020-08-24 13:40:06 +02:00
virfdstream.h
virfile.c util: Make virFileClose() quiet on success 2020-11-16 09:18:03 +01:00
virfile.h util: remove ATTRIBUTE_NONNULL from virDirClose declaration 2020-11-13 14:58:48 -05:00
virfilecache.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virfilecache.h qemu: don't continue loading caps if outdated 2020-06-23 17:33:30 +01:00
virfirewall.c util: firewall: use g_new0 2020-10-06 12:31:34 +02:00
virfirewall.h
virfirewalld.c util: firewall: use g_new0 2020-10-06 12:31:34 +02:00
virfirewalld.h
virfirewalldpriv.h
virfirewallpriv.h
virfirmware.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virfirmware.h
virgdbus.c virgdbus: fix getting non-shared DBus connection 2020-11-09 23:42:33 +01:00
virgdbus.h virgdbus: add DBus reply format check 2020-09-23 12:53:31 +02:00
virgettext.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virgettext.h
virgic.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virgic.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virhash.c util: hash: Add deprecation notices for functions which have g_hash_table replacements 2020-11-06 10:40:56 +01:00
virhash.h util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virhashcode.c Prefer https: everywhere where possible 2020-09-01 21:58:46 +02:00
virhashcode.h Prefer https: everywhere where possible 2020-09-01 21:58:46 +02:00
virhook.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
virhook.h bhyve: add hooks 2020-02-24 17:25:07 +00:00
virhostcpu.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
virhostcpu.h domaincapsmock: mock virHostCPUGetMicrocodeVersion() 2020-08-25 19:44:43 +02:00
virhostcpupriv.h hostcpu: Introduce virHostCPUGetSignature 2020-05-25 16:09:41 +02:00
virhostmem.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virhostmem.h
virhostuptime.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virhostuptime.h
viridentity.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
viridentity.h
virinitctl.c
virinitctl.h
viriptables.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
viriptables.h network: allow DHCP/DNS/TFTP explicitly in OUTPUT rules 2019-10-18 18:49:54 +01:00
viriscsi.c
viriscsi.h
virjson.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virjson.h util: json: Introduce virJSONValueObjectAppendStringPrintf 2020-05-20 09:41:57 +02:00
virkeycode.c Split declarations from initializations 2020-08-25 19:03:11 +02:00
virkeycode.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virkmod.c util: rename method to virKModIsProhibited 2020-06-26 15:39:33 +01:00
virkmod.h util: rename method to virKModIsProhibited 2020-06-26 15:39:33 +01:00
virlease.c Remove redundant conditions 2020-08-03 15:19:28 +02:00
virlease.h
virlockspace.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virlockspace.h
virlog.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virlog.h util: virlog: unexport virLogVMessage 2020-08-03 15:30:40 +02:00
virmacaddr.c Remove all use of virHexToBin 2020-02-24 20:25:48 +01:00
virmacaddr.h
virmacmap.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virmacmap.h
virmdev.c util: refactor mdev_types methods return code usage 2020-11-04 19:14:07 +01:00
virmdev.h util: refactor mdev_types methods return code usage 2020-11-04 19:14:07 +01:00
virmodule.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virmodule.h
virnetdev.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virnetdev.h util: support device stats collection for <interface type='hostdev'> 2020-10-20 17:29:29 -04:00
virnetdevbandwidth.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevbandwidth.h
virnetdevbridge.c util: remove extraneous defined(__linux__) when checking for WITH_LIBNL 2020-10-01 14:02:34 -04:00
virnetdevbridge.h util: query/set BR_ISOLATED flag on netdevs attached to bridge 2020-02-20 23:07:53 -05:00
virnetdevip.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevip.h util: remove unused virNetDevIPWaitDadFinish() 2020-09-10 11:47:35 -04:00
virnetdevmacvlan.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevmacvlan.h util: replace macvtap name reservation bitmap with a simple counter 2020-09-01 14:16:36 -04:00
virnetdevmidonet.c src: util: rename some program macros 2020-07-10 09:40:45 +02:00
virnetdevmidonet.h
virnetdevopenvswitch.c virnetdevopenvswitch: Simplify OVS_VSCTL cmd creation 2020-11-12 08:24:43 +01:00
virnetdevopenvswitch.h virnetdevopenvswitch: Fix ATTRIBUTE_NONNULL() tag for virNetDevOpenvswitchGetVhostuserIfname() 2020-11-13 18:12:49 +01:00
virnetdevtap.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevtap.h util: assign tap device names using a monotonically increasing integer 2020-09-01 14:16:44 -04:00
virnetdevveth.c Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
virnetdevveth.h
virnetdevvlan.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevvlan.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetdevvportprofile.c util: netdev: use g_new0 2020-10-06 12:31:34 +02:00
virnetdevvportprofile.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnetlink.c util: a-n: use g_new0 2020-10-06 12:31:34 +02:00
virnetlink.h util: remove extraneous defined(__linux__) when checking for WITH_LIBNL 2020-10-01 14:02:34 -04:00
virnodesuspend.c src: improve thread naming with human targetted names 2020-03-05 12:23:04 +00:00
virnodesuspend.h
virnuma.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virnuma.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virnvme.c
virnvme.h
virobject.c Move debug statements after declarations 2020-08-25 19:03:11 +02:00
virobject.h src: make virObject inherit from GObject 2020-06-03 10:20:17 +01:00
virpci.c util: refactor mdev_types method from PCI to mdev 2020-11-04 19:11:49 +01:00
virpci.h util: refactor mdev_types method from PCI to mdev 2020-11-04 19:11:49 +01:00
virperf.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virperf.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virpidfile.c util: use g_auto() for all virBuffers 2020-07-08 16:34:26 -04:00
virpidfile.h
virpolkit.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virpolkit.h
virportallocator.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virportallocator.h
virprobe.h
virprocess.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
virprocess.h Do not report error when setting affinity is allowed to fail 2020-09-07 11:35:36 +02:00
virqemu.c storage: add support for qcow2 LUKS encryption 2020-09-18 11:22:28 +01:00
virqemu.h util: fix non-null pointer parameter annotations 2020-09-21 14:26:12 +01:00
virrandom.c util: virRandomInt: remove temporary variable 2020-08-25 19:03:11 +02:00
virrandom.h
virresctrl.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virresctrl.h util: sync variable names between header and C files 2020-08-03 15:19:29 +02:00
virresctrlpriv.h
virrotatingfile.c logging: allow max_len=0 to disable log rollover 2020-10-13 10:51:43 +01:00
virrotatingfile.h
virscsi.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virscsi.h
virscsihost.c util: quieten virSCSIHostGetUniqueId 2020-11-06 15:03:39 +01:00
virscsihost.h
virscsivhost.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virscsivhost.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virseclabel.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virseclabel.h
virsecret.c virSecretLookupDefCopy: Remove return value 2020-03-20 09:47:16 +01:00
virsecret.h virSecretLookupDefCopy: Remove return value 2020-03-20 09:47:16 +01:00
virsocket.c
virsocket.h
virsocketaddr.c virsocketaddr: Zero @netmask in virSocketAddrPrefixToNetmask() 2020-10-12 09:24:26 +02:00
virsocketaddr.h util: sync variable names between header and C files 2020-08-03 15:19:29 +02:00
virstorageencryption.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virstorageencryption.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
virstoragefile.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virstoragefile.h qemu: block: Allow specifying cluster size when using 'blockdev-create' 2020-09-08 08:48:53 +02:00
virstoragefilebackend.c util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
virstoragefilebackend.h
virstring.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virstring.h util: delete virStringListFree 2020-08-03 15:37:36 +02:00
virsysinfo.c util: sysinfo: use g_new0 2020-10-06 12:31:33 +02:00
virsysinfo.h conf: Add firmware blob configuration 2020-06-10 14:00:38 +02:00
virsysinfopriv.h virsysinfo: Drop global @sysinfoDmidecode 2020-06-10 14:00:38 +02:00
virsystemd.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
virsystemd.h
virsystemdpriv.h
virthread.c util: Use glib memory functions in virThreadCreateFull 2020-09-11 18:19:58 +02:00
virthread.h src: set the OS level thread name 2020-03-05 12:23:02 +00:00
virthreadjob.c
virthreadjob.h
virthreadpool.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virthreadpool.h util: remove unused virThreadPoolNew macro 2020-09-07 09:34:00 +03:00
virtime.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virtime.h
virtpm.c util: bitamp: Remove virBitmapNewEmpty 2020-10-05 15:38:47 +02:00
virtpm.h
virtypedparam-public.c
virtypedparam.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
virtypedparam.h Remove virutil.h from all header files 2020-02-24 23:15:50 +01:00
viruri.c util: o-z: use g_new0 2020-10-06 12:31:34 +02:00
viruri.h peer2peer migration: allow connecting to local sockets 2020-09-04 10:20:49 +02:00
virusb.c change DIR* int g_autoptr(DIR) where appropriate 2020-11-02 22:01:36 -05:00
virusb.h
virutil.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virutil.h tests: Add mock library for virGetHostname and virGetHostUUID 2020-11-09 12:25:49 +01:00
viruuid.c util: uuid: remove use of virHexToBin 2020-02-24 20:25:48 +01:00
viruuid.h tests: Add mock library for virGetHostname and virGetHostUUID 2020-11-09 12:25:49 +01:00
virvhba.c remove unnecessary cleanup labels and unused return variables 2020-11-02 22:01:36 -05:00
virvhba.h
virvsock.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
virvsock.h
virxdrdefs.h
virxml.c util: xml: remove unused function virXMLChildElementCount 2020-11-06 11:18:17 +01:00
virxml.h util: xml: remove unused function virXMLChildElementCount 2020-11-06 11:18:17 +01:00