• D
    m4: disable gcc8 -Wcast-function-type warnings from -Wextra · 91482930
    Daniel P. Berrangé 提交于
    The -Wextra flag bundle gained a new warning -Wcast-function-type.
    This complains if you cast between two function prototypes where
    the number of parameters or their data types are not compatible.
    Unfortunately we need such "bad" function casts for our event
    callbacks. It is possible to silence the warning by first casting
    to the generic "void (*)(void)" function prototype, but that is
    rather ugly to add throughout libvirt code.
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    91482930
virt-compile-warnings.m4 11.1 KB