[PATCH libinput] meson.build: add more overrides for coverity
Matheus Santana
embs at cin.ufpe.br
Wed Jun 20 00:48:06 UTC 2018
Reviewed-by: Matheus Santana <embs at cin.ufpe.br>
On Tue, Jun 19, 2018 at 9:28 PM, Peter Hutterer <peter.hutterer at who-t.net>
wrote:
> "/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.hutterer at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180619/bd56eb51/attachment-0001.html>
More information about the wayland-devel
mailing list