Commit aafc0126 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

m4: disable gcc8 -Wcast-function-type warnings from -Wextra

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 glib type
definitions, and various other APIs.
Signed-off-by: 's avatarDaniel P. Berrangé <>
parent 15396686
# We can't enable this due to horrible spice_usb_device_get_description
# signature
# We do "bad" function casts all the time
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment