mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 02:20:30 +01:00
meson.build: add more overrides for coverity
"/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@who-t.net> Reviewed-by: Matheus Santana <embs@cin.ufpe.br>
This commit is contained in:
parent
793c8d51e8
commit
307f4a5636
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue