"/usr/include/math.h", line 381: error #20: identifier "_Float32" is undefined
  # define _Mdouble_            _Float32

Same for a few others. Since we don't actually need those anyway, we can just
cast those to the some close-enough sizes. We don't have stdint.h in config.h
and meson cannot have a custom #include line in the config object. So let's go
with what does the job for now.

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
The extra additions are probably caused by my update to F28, but something
is wrong on the coverity side here and I'd rather #define random things 
away than not run coverity...

 meson.build | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index 54c5bbe0..b650bbde 100644
--- a/meson.build
+++ b/meson.build
@@ -52,6 +52,10 @@ endif
 # be removed when coverity fixes this again.
 if get_option('coverity')
        config_h.set('_Float128', '__uint128_t')
+       config_h.set('_Float32', 'int')
+       config_h.set('_Float32x', 'int')
+       config_h.set('_Float64', 'long')
+       config_h.set('_Float64x', 'long')
 endif
 
 # Dependencies
-- 
2.17.1

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to